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

Assignments: The error message for attachments doesn't display the correct size limit

    XMLWordPrintable

Details

    • Hide
      1. As an instructor, create a new assignment.
      2. Under attachments, upload a file that is larger than 20 MB but smaller than 50 MB.

      Expected Behavior: The upload fails and an error message displays: "The upload size limit of 20 MB has been exceeded."

      Current Behavior: The upload fails and an error message displays: "The upload size limit of 50 MB has been exceeded."

      Show
      As an instructor, create a new assignment. Under attachments, upload a file that is larger than 20 MB but smaller than 50 MB. Expected Behavior : The upload fails and an error message displays: "The upload size limit of 20 MB has been exceeded." Current Behavior : The upload fails and an error message displays: "The upload size limit of 50 MB has been exceeded."

    Description

      If an instructor creates a new assignment and uploads an attachment that is larger than 20 MB, an error message displays: "The upload size limit of 50 MB has been exceeded." The size limit here should be 20 MB.

      As discussed with Matthew Jones on the sakai dev channel on slack,  the size limits for the nightly server are specified as following: content.upload.max=50 content.upload.ceiling=20. The upload.ceiling applies to resources and upload.max applies to other tools. In that case, the error message for assignment attachment should still show 20 instead of 50.

      Gliffy Diagrams

        Zeplin

          Attachments

            1. image-2020-10-19-12-41-31-615.png
              37 kB
              Marcelino Rutea
            2. image-2020-10-19-12-42-17-795.png
              7 kB
              Marcelino Rutea
            3. image-2020-10-19-12-47-37-878.png
              37 kB
              Marcelino Rutea
            4. wrong error message.png
              28 kB
              Fangcong Yin

            Issue Links

              Activity

                People

                  mrutea Marcelino Rutea
                  fyin2 Fangcong Yin
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                    Created:
                    Updated:

                    Git Integration