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

Uploading a file too big for commons displays broken image and unfriendly error

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Add commons tool to the site

      Select a large image and upload it

      "File too big" should display in the pop-up where the file is chosen

      Show
      Add commons tool to the site Select a large image and upload it "File too big" should display in the pop-up where the file is chosen

      Description

      When uploading a file too big (3534kb), the following displays to the user (see screenshot):

      413 Request Entity Too Large


      nginx/1.14.0 (Ubuntu)" class="commons-image" />

      Tested on both 19 and 20. Uploading the file I used

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code