-
Bug
-
Resolution: Fixed
-
Major
-
4.1.10, 4.2.2, 4.3, 4.4
-
6
-
Team Hedgehog 2024 Sprint 1.2, Team Hedgehog 2024 Sprint 1.3, Team Hedgehog 2024 Sprint 1.4
Plugins such as mod_scorm use zips, which are unzipped and stored in the mdl_files when saved.
Since MDL-74641, there is a check added here that the unzipped file size does not exceed the "Private files space" config:
Two issues with this:
- This is confusing for end users, since mod_scorm doesn't touch the private files area, but this setting "Private files space" affects it. I believe this should be at a minimum renamed to "unzip file area quota"
- It checks the existing usage of files in the users private file area, regardless if the file being unzipped is in the private file area (in scorm, they are not)
A better solution would be being able to define max file sizes per-area (so for example, scorm could be 200mb but private files could be 1mb, etc...), and then check the respective area for existing usage.