File won't upload once quota threshold is reached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Medium
|
Unassigned |
Bug Description
https:/
We are using Mahara 18.04.2 with Postgres 9.4.
We set "group file quota" to be 100MB. However uploading a file will always fail (unless it is a real small size like 2KB) once group file quota reaches 80%. The cogwheel of the uploading just keeps spinning and no errors or warnings return.
If the quota-notify-limiit is hard-coded to be 80 for group, I was expecting to see a warning message either sent to group admin and also pop up over the browser, at the meantime the upload will still proceed as long as there is still enough space left.
--------
Steven tested and found that it seems to be an issue in 18.04 only but not 18.10.
The problem here is similar to the bug 1765264 - where ArtefactTypeFil e::notify_ groups_ threshold_ exceeded( ) is causing the problem