Project

General

Profile

Actions

Task #2116

closed

Allow max uploaded file size to be up to 100MB

Added by Petr Fišer almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Petr Fišer
Target version:
Start date:
03/11/2020
Due date:
% Done:

50%

Estimated time:
Owner:

Description

According to changelog for export/import feature, we need to support up to 100MB file uploads in the application. Checked with Zdenda - yes, it is intended to have it this way.
We need to check IdM container if we support this out-of-the-box. If we don't, we have to add support for this setting to the container scripts (this should be preferred way, because somebody may need to adjust this).

Settings in question:

# Max file size of uploaded file. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB


Related issues

Related to IdStory Identity Manager - Task #2195: Max file upload - server configuration documentationClosedPetr Fišer04/08/2020

Actions
Related to IdStory Identity Manager - Defect #2106: Max file upload exception is not propagated to frontend. ClosedRadek Tomiška03/09/2020

Actions
Actions #1

Updated by Petr Fišer almost 5 years ago

  • Subject changed from Allow max uploaded file size to Allow max uploaded file size to be up to 100MB
Actions #2

Updated by Petr Fišer almost 5 years ago

  • Target version set to bcv-czechidm:10.1.0-r1
Actions #3

Updated by Petr Fišer almost 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100

Implemented and tested in git.1820309 , documentation also done.
Currently on develop, waiting for official merge&release.

Actions #4

Updated by Petr Fišer over 4 years ago

  • % Done changed from 100 to 50

This is not completely correct because of defaults in the Tomcat. More on that in #2195 and #2106.

Actions #5

Updated by Petr Fišer over 4 years ago

  • Related to Task #2195: Max file upload - server configuration documentation added
Actions #6

Updated by Petr Fišer over 4 years ago

  • Related to Defect #2106: Max file upload exception is not propagated to frontend. added
Actions #7

Updated by Petr Fišer over 4 years ago

Updated the Dockerfile to set maxSwallowSize to -1. This is a thing for HTTP connector only, the AJP connector does not care.
Pushed as git.4e6c2ba .

Actions #8

Updated by Petr Fišer over 4 years ago

  • Status changed from In Progress to Resolved
Actions #9

Updated by Petr Fišer over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF