Details
Description
Links from an activity such as forum, quiz, or assignment to a particular page in a lesson are not properly recoded upon use of restore to create a new course, the links to the lesson pages either still point back to the original course's lesson pages or result in "Error: could not find records" and boot students to the site's front page.
Link on activity in course that was backed up
http://bluejay.cty.jhu.edu/mod/lesson/view.php?id=3365&pageid=4481
Restored course link on activity
http://bluejay.cty.jhu.edu/mod/lesson/view.php?id=4304&pageid=4481
Actual URL of lesson page
http://bluejay.cty.jhu.edu/mod/lesson/view.php?id=4304&pageid=6446
The id 4304 is correct, but, as you can see, the pageid has not changed.
Links from a lesson page to an activity are properly recoded.