Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1608

Check file size limit in HTML editor

    XMLWordPrintable

    Details

      Description

      The HTML editor does not open files that are too big to prevent excessive memory usage. The limit is configured using the folder.editFileSizeLimitBytes property.

      When the HTML editor opens a file, the file size limit is checked. If the limit is exceeded, opening the file is rejected. The problem is however, that when creating the file the limit is not checked at all. This leaves the user in the dark, creating of too large files is possible but later editing of those files not.

      The solution is to check against file size when saving as well. An error should appear.

      In addition, the default limit should be raised to 2MB.

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Kirsten Scherer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 20 minutes
                2h 20m