-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.5, 3.0.3, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-53660-master -
If you are using a single discussion forum type and link to another activity in the intro, then on backup and restore without user data will result in the link to the other activity not being decoded when viewing the forum. But when you edit the forum, you will see that the link has been decoded there.
The problem is that in \restore_hsuforum_activity_structure_step::after_execute - the forum introduction is copied into a new discussion and post. But this post is missed by the content decoder process because the post's ID is not in the backup_ids_temp table. The result being that the forum introduction is decoded but the post message is not.