← Back to team overview

mahara-contributors team mailing list archive

[Bug 1495676] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5426
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/dc0695faf66ec84566c62dd538ff3d0d0ff670ed
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    1.10_STABLE

commit dc0695faf66ec84566c62dd538ff3d0d0ff670ed
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Mon Jul 13 11:11:53 2015 +1200

Take into account the mahara setting 'maxuploadsize'. Bug 1495676

behatnotneeded

Change-Id: Icca153ae8d4728ff840bc088d719affb3b80a68f

-- 
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/1495676

Title:
  The setting 'maxuploadsize' did not count

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  In Progress

Bug description:
  Version: master(15.10), 15.04

  In Mahara, the setting $cfg->maxuploadsize can be set to limit the
  maximum size for one upload. However, this value did not use to
  calculate the value of "Maximum upload size" to show in
  htdocs/artefact/file/index.php.

  Steps
  1. Assume that the postmaxsize value in php setting is 32MB, quota is 50MB and there is no file in the user file area, set the value of $cfg->maxuploadsize to 16MB (16777216)
  2. Login as the user, open file browser  (htdocs/artefact/file/index.php)

  Expected result:
   - The value of "Maximum upload size" should be 16MB
  Actual:
   - The value is 32MB

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1495676/+subscriptions


References