Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39592

Set the SYSTEM_UPLOAD_MAX for 2.6 to 2G

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.x
    • Fix Version/s: 2.6.x
    • Component/s: Kernel
    • Labels:

      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

                Activity

                  People

                  Assignee:
                  steve.swinsburg Steve Swinsburg
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration