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

When restoring database , links are not recoded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8.2, 1.9
    • Fix Version/s: 1.7.3, 1.8.3, 1.9
    • Labels:
      None
    • Environment:
      Moodle 1.7.2, Apavhe 2.0, php 5, Linux
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      On backup, a link like http://MYSERVER.fr/moodle/mod/resource/view.php?id=831 in the description field
      of a database activity is changed to $@RESOURCEVIEWBYID*831@$ in the backup file.

      On restore, this is then supposed to be changed back, but using the new id.

      This was not being done for a database activity either by backup/restore nor by using the new importation option.

      This relates to http://tracker.moodle.org/browse/MDL-9432 where that bug was also reported for quizzes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              ppollet Patrick Pollet
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Oct/07