Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.8, 1.9.1, 2.0
-
Fix Version/s: None
-
Labels:None
-
Environment:mysql 5.0.5.1 Win NT 5.2 build 3790 php 5.2.0
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
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.
If anyone wants to look at this problem, please email me for a login.