-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.4, 3.1.1
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-54785-master -
-
3.2 Sprint 2
The easiest way to show this is using restore as admin from Site admin > Courses > Restore (ie Site context).
1. Generate or find a reasonably large backup file.
2. Set up a file system repository
3. Set up php.ini to have a maximum file size / post size of less than the backup file
4. Copy the backup file to the FSR folder on the server
5. Attempt to restore the file by grabbing it in the repository
6. It will fail saying the file is invalid
7. Increase php.ini settings to make the maximum file size larger than the backup / restart as required
8. Try the restore again
9. It works!
It appears that the file is getting truncated somewhere and so is corrupt. This is new - certainly since 2.9
I imagine this is related to MDL-44626 and MDL-54110, but I am logged in as the primary admin so, surely, any relevant capabilities will not apply anyway.
- has a non-specific relationship to
-
MDL-55021 Clarify "maximum size for new files"
-
- Closed
-
- has a QA test
-
MDLQA-9821 Uploading file respects maximum file size
-
- Open
-
-
MDLQA-15302 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-15891 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-16537 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-17153 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-17741 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-18245 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-18739 CLONE - Uploading file respects maximum file size
-
- Passed
-
-
MDLQA-19202 CLONE - Uploading file respects maximum file size
-
- Passed
-
- is a regression caused by
-
MDL-44626 Drag n drop upload do not show correct warning message when the size of the file is to big
-
- Closed
-
-
MDL-54110 post_max_size limits upload size from all respositories
-
- Closed
-
- is duplicated by
-
MDL-53429 Limitation of file size in file system repository
-
- Closed
-
- will help resolve
-
MDL-53429 Limitation of file size in file system repository
-
- Closed
-