Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Component/s: Backup
-
Testing Instructions:
-
Affected Branches:MOODLE_33_STABLE
-
Fixed Branches:MOODLE_32_STABLE, MOODLE_33_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-59908-master -
Pull Master Diff URL:
-
Sprint:3.4 Sprint 4
Description
Raised while discussing MDL-46269
Comment from Marina -
When a module contains links to pages in this module they are automatically converted during restore to use new ids. Example in book: https://github.com/moodle/moodle/blob/master/mod/book/backup/moodle2/restore_book_activity_task.class.php#L75
They are processed somewhere in https://github.com/moodle/moodle/blob/master/backup/util/helper/restore_decode_rule.class.php
if sourcewwwroot was https but the present links were still http at the moment of backup, such links wouldn't be changed during restore