The setting 'maxuploadsize' did not count
Bug #1495676 reported by
Son Nguyen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Son Nguyen | ||
1.10 |
Fix Released
|
Medium
|
Unassigned | ||
1.9 |
Fix Released
|
Medium
|
Unassigned | ||
15.04 |
Fix Released
|
Medium
|
Unassigned | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned |
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/
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/
Expected result:
- The value of "Maximum upload size" should be 16MB
Actual:
- The value is 32MB
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/5277