Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16973

links from activities to lesson pages not recoded when course restored

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8, 1.9.1, 2.0
    • None
    • Backup, Lesson
    • None
    • mysql 5.0.5.1 Win NT 5.2 build 3790 php 5.2.0
    • MySQL
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            benreynolds Ben Reynolds
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: