Moodle

When restoring quiz questions, links are not recoded

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7.2, 1.8
  • Fix Version/s: 1.7.3, 1.8.1, 1.9
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

On restore, a link like http://tjh238.vledev.open.ac.uk/moodle/mod/resource/view.php?id=831 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 quiz questions.

Issue Links

Activity

Hide
Patrick Pollet added a comment -

and also not in links that are in the description of a database activity.

Show
Patrick Pollet added a comment - and also not in links that are in the description of a database activity.
Hide
Don Hinkelman added a comment -

Is this related to another issue?
http://tracker.moodle.org/browse/MDL-9475

Show
Don Hinkelman added a comment - Is this related to another issue? http://tracker.moodle.org/browse/MDL-9475
Hide
Tim Hunt added a comment -

Patrick, please file a separate bug about the database activity (but refer to this bug in the description, so people can see the link.) Thanks.

Don, that is a separate bug, the only relationship to this one is that they are both to do with backup and restore.

Show
Tim Hunt added a comment - Patrick, please file a separate bug about the database activity (but refer to this bug in the description, so people can see the link.) Thanks. Don, that is a separate bug, the only relationship to this one is that they are both to do with backup and restore.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: