mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #20420
[Bug 1363753] [NEW] extract file gives error if there is not enough space for extraction
Public bug reported:
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/file/extract.php:113) Undefined variable: form
Call stack (most recent first):
log_message("Undefined variable: form", 8, true, true, "/home/robertl/htdocs/mahara-devel/mahara/htdocs/ar...", 113) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:439
error(8, "Undefined variable: form", "/home/robertl/htdocs/mahara-devel/mahara/htdocs/ar...", 113, array(size 69)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/file/extract.php:113
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.
** Affects: mahara
Importance: Low
Status: New
** Tags: fileupload
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1363753
Title:
extract file gives error if there is not enough space for extraction
Status in Mahara ePortfolio:
New
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/file/extract.php:113) Undefined variable: form
Call stack (most recent first):
log_message("Undefined variable: form", 8, true, true, "/home/robertl/htdocs/mahara-devel/mahara/htdocs/ar...", 113) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/lib/errors.php:439
error(8, "Undefined variable: form", "/home/robertl/htdocs/mahara-devel/mahara/htdocs/ar...", 113, array(size 69)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/file/extract.php:113
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1363753/+subscriptions
Follow ups
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2016-11-06
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Aaron Wells, 2015-10-23
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-08-19
-
[Bug 1363753] A change has been merged
From: Mahara Bot, 2015-08-18
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-08-18
-
[Bug 1363753] A change has been merged
From: Mahara Bot, 2015-08-18
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-08-17
-
[Bug 1363753] A patch has been submitted for review
From: Mahara Bot, 2015-08-17
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-08-17
-
[Bug 1363753] A patch has been submitted for review
From: Mahara Bot, 2015-08-17
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-08-17
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Aaron Wells, 2015-07-10
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Aaron Wells, 2015-05-19
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Aaron Wells, 2015-04-21
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2015-04-17
-
[Bug 1363753] Re: extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2014-08-31
-
[Bug 1363753] [NEW] extract file gives error if there is not enough space for extraction
From: Robert Lyon, 2014-08-31
References