default user quota is different depending on fresh install or upgrade

Bug #786783 reported by Hugh Davenport
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Hugh Davenport

Bug Description

When mahara is freshly installed, the default quota is 52428800 (50MB) (/artefact/file/lib.php:92)
If mahara is upgraded from 2007011800, the default quota is 10485760 (10MB) (/artefact/file/db/upgrade.php:57)

If for some reason the default isn't in the database when configuring the file artefact, then the
default is 1024 * 1024 * 10 (10MB) (/artefact/file/lib.php:1075)

They should all be the same here.

This probably isn't a big issue as there was only 1 version of this artefact before 2007011800 (9 days prior)

Cheers,

Hugh

Tags: quota
Revision history for this message
François Marier (fmarier) wrote :

That's a good point, they should all be the same. What should the default be? 50MB?

Changed in mahara:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Hugh Davenport (hugh-davenport) wrote : Re: [Bug 786783] Re: default user quota is different depending on fresh install or upgrade

50MB i think is probably the best, as it is unlikely that anyone has a
version in those 9 days, or has removed it from the db manually.

Cheers,

Hugh

On 23/05/11 14:02, François Marier wrote:
> That's a good point, they should all be the same. What should the
> default be? 50MB?
>
> ** Changed in: mahara
> Status: New => Triaged
>
> ** Changed in: mahara
> Importance: Undecided => Low
>

--
Hugh Davenport
803 2258
Developer
Catalyst Ltd.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote : Re: [Mahara-contributors] [Bug 786783] Re: default user quota is different depending on fresh install or upgrade

Yes, 50MB is a good site default.

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
status: Triaged → In Progress
assignee: nobody → Hugh Davenport (hugh-catalyst)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: quotas
Changed in mahara:
milestone: none → 1.5.0
tags: added: quota
removed: quotas
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.