Documentation for content.upload.max and content.upload.ceiling need updating

Description

The documentation for content.upload.ceiling incorrectly states the value is in bytes - the code is treating the number as MB. Additionally, the information should explain the settings.

Upload limit per request, in MBs.
"ceiling" is used for resources. "max" is used for attachments.
In the case when both are set, resources are limited to the smaller of the two. If only one of the two are set, resource uploads are limited to the value whichever is set.
Attachments are limited at either 20 (default) or the setting of "max".

Examples:
content.upload.max=50 and content.upload.ceiling=25 (attachments limit of 50MB and resource uploads at 25MB)
content.upload.max=10 and content.upload.ceiling=15 (attachments limit of 10MB and resource uploads at 10MB)
content.upload.ceiling=25 (attachments limit of 20MB and resource uploads at 25MB)
content.upload.max=50 (attachments limit of 50MB and resource uploads at 50MB)

Activity

Show:

Neal Caidin August 14, 2017 at 2:02 PM

Bulk closing issues that have not been updated since 2014 and earlier. Please reopen if this is still an issue and you have new information.

Charles Hasegawa June 27, 2013 at 12:57 PM

This is clarified in the default.sakai.properties in a patch for SAK-21124, but the wiki documentation still needs updating

Won't Fix

Details

Priority

Affects versions

Components

Assignee

Reporter

Created June 27, 2013 at 12:55 PM
Updated August 14, 2017 at 2:02 PM
Resolved August 14, 2017 at 2:02 PM