-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5, 5.0
-
MOODLE_405_STABLE, MOODLE_500_STABLE
Discovered by lsansone while testing MDLQA-19052
When backing up and restoring activities and resources, replacing the sources in private and course legacy files with new versions does not update the file references after restoration. Instead, the restored files continue to point to the old versions, failing to link to the newly replaced files.
Steps to reproduce
- Add several files to your private files area, including images.
- Create an activity module, insert into the description images from previous step as alias/shortcuts by selecting Link to the file.
- Create a new folder resource and add the same files from as alias/shortcuts by selecting Link to the file.
- Backup the activities and resources created.
- Replace sources in private files
- Restore activities/resources from the backup.
Expected Result: The restored activities and resources should reference the newly uploaded files, ensuring that the files are present and valid.
Actual Result: The restored files continue to reference the old versions, leading to incorrect file associations.
- Discovered while testing
-
MDLQA-19052 CLONE - Backup and restore activity with files references
-
- Passed
-