Details
Description
Because KNL-205 and other related kernel fixes likely won't be backported to 1.0 kernel, it seems like content.upload.max should be forced to not go over the maximum possible size with a message that it is set higher than the max referring to these related issues. (and recommending an upgrade to 2.7)
It could be possible to do reflection to see if the method is
public void setContentLength(int length);
or
public void setContentLength(long length);
but for now, I'm just patching it.
if (sakai.content.upload.max >= 2048)
//Set to 2047
//Print Info message
//Check sakai.content.upload.ceiling as well
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-16844 content.upload.max=2048 (or greater) will prevent "upload all" from uploading any file
-
- CLOSED
-