Make 'file' upload form field respect user quota better
Bug #1808245 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Currently the 'file' form field doesn't do the following:
1) It doesn't display the max file size (the 'filebrowser' form field does this)
2) It returns the site's max file size on validation error even if a use has a quota value smaller
Things to change:
1) allow the maxfilesize value to be able to be set to user's max value if uploading into the user area, eg for importing skins/leap2a files - as the relating content of images/files will end up counted as user quota
2) allow the upload_manager() class to return error in correct max filesize
Changed in mahara: | |
importance: | Undecided → Medium |
status: | New → In Progress |
milestone: | none → 19.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/9371