Project

General

Profile

Task #2116

Allow max uploaded file size to be up to 100MB

Added by Petr Fišer about 1 year ago. Updated about 1 year ago.

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

50%

Estimated time:
Milestones:

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 CzechIdM - Task #2195: Max file upload - server configuration documentationClosed04/08/2020

Related to CzechIdM - Defect #2106: Max file upload exception is not propagated to frontend. Closed03/09/2020

History

#1 Updated by Petr Fišer about 1 year ago

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

#2 Updated by Petr Fišer about 1 year ago

  • Target version set to bcv-czechidm:10.1.0-r1

#3 Updated by Petr Fišer about 1 year 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.

#4 Updated by Petr Fišer about 1 year 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.

#5 Updated by Petr Fišer about 1 year ago

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

#6 Updated by Petr Fišer about 1 year ago

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

#7 Updated by Petr Fišer about 1 year 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 .

#8 Updated by Petr Fišer about 1 year ago

  • Status changed from In Progress to Resolved

#9 Updated by Petr Fišer about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Go to top