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.
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
- Subject changed from Allow max uploaded file size to Allow max uploaded file size to be up to 100MB
- Target version set to bcv-czechidm:10.1.0-r1
- 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.
- % Done changed from 100 to 50
This is not completely correct because of defaults in the Tomcat. More on that in #2195 and #2106.
- Related to Task #2195: Max file upload - server configuration documentation added
- Related to Defect #2106: Max file upload exception is not propagated to frontend. added
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 .
- Status changed from In Progress to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF