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

When restoring database , links are not recoded

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2, 1.8.2, 1.9
    • 1.7.3, 1.8.3, 1.9
    • None
    • Moodle 1.7.2, Apavhe 2.0, php 5, Linux
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • 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

              stronk7 Eloy Lafuente (stronk7)
              ppollet Patrick Pollet
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Oct/07