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

resource_redirect_if_migrated breaks if a course is backed up and restored

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.2.4
    • None
    • Resource
    • MOODLE_22_STABLE

    Description

      If an activity in a course had a link to a page / url resource in Moodle 1.9, then after upgrading to Moodle 2.0 the links are wrong, but still work due to the function 'resource_redirect_if_migrated'.

      However, backing up and restoring a course does not transfer the 'resource_old' entries required for this function to work, so the links then break.

      I am going to investigate whether it is possible to fix this via the 'encode_content_links' function.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              davosmith Davo Smith
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: