Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.4, 3.10.1, 3.11, 4.0
Description
The edge case:
- You have a backup which was created with "no files" option AND
- The backup is referencing to some file AND
- You do not have this file in your local filedir AND
- You do not have any records in mdl_files table for this file AND
- You have a remote storage configured which has the file AND
- You are trying to restore the backup.
As a result, restore fails with the "Unknown exception related to local files (Can not fetch file form URL)" error because of this call https://github.com/moodle/moodle/blob/9dabd071fe7c09ba10f0a7a7b7c7d8164bca9c95/backup/util/dbops/restore_dbops.class.php#L1082
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-57971 Modify file_system API to use curl for downloads and streaming
-
- Closed
-