extract file gives error if there is not enough space for extraction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Robert Lyon | ||
1.10 |
Won't Fix
|
Low
|
Unassigned | ||
15.04 |
Fix Released
|
Low
|
Robert Lyon | ||
15.10 |
Fix Released
|
Low
|
Robert Lyon |
Bug Description
If I have a user that has 5MB quota and upload a zip file that is 3MB in size - it uploads fine
But if I then click on the unzip icon for the file I get the useful message:
'Your remaining file quota is too small to unzip this file.' - however this needs to be more obvious like in a error or warn message.
But I also get:
[WAR] c0 (artefact/
Call stack (most recent first):
log_
error(8, "Undefined variable: form", "/home/
I believe this is because the form isn't present when the extraction won't fit - but still something wants to interact with that form.
So things to do:
1) Make the 'Your remaining file quota is too small to unzip this file.' message more prominent - and also give some information on how to get more quota like 'contact your admin for more space and/or delete some files before proceeding' etc.
2) Stop trying to access a form that is, rightly, not there.
Changed in mahara: | |
status: | New → Confirmed |
Changed in mahara: | |
milestone: | 15.04.0 → 15.04.1 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/5115