-
Bug
-
Resolution: Fixed
-
Blocker
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
MDL-33430-reference-restore -
1. When restoring file reference to the local moodle file that can not be found produce a warning to the user.
2. When backup file contains both source of the reference and the file referencing to it, change the reference so it points to the restored source.
-------
Test 1 Restore a folder resource, with links to deleted files
Test Pre-requisites:
1. Login as admin/teacher, make sure at least two courses exist
2. Enable course legacy files for the first course
3. Add several files to your private files area, and course legacy files, including images
4. Create an activity module, insert into description images from pre-requisite #3 as alias/shortcuts
5. Create a new folder resource and add files from pre-requisite #3 as alias/shortcuts
Test Steps:
1. Backup the activities and resources created in Pre-requisites #4 and #5 and remove them
2. Remove sources in private files and course legacy files
3. Restore activities/resources from backup to another course
4. Make sure warnings are displayed that reference(s) can not be restored
5. Make sure references are present, but when clicking on file the error is displayed. In Filemanager the error is shown in the file source. In description there should be just broken images
- blocks
-
MDLQA-2500 CLONE - Backup and restore activity with files references: Restoring after source files are deleted
- Passed
- has been marked as being related by
-
MDL-33550 Correctly process situation when file reference source is missing
-
- Closed
-