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

Backup and restore can randomise the order of database rows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.0.2
    • None
    • Backup
    • MOODLE_20_STABLE

    Description

      When a quiz with multichoice questions is restored from backup, the order of choices inside the questions gets reversed. Not sure if it happens every time, but it took some hours for me to find where the problem was in our case.

      I made a patch to the questions backup routine so that the corresponding XML records would be ordered by ID properly.

      Attachments

        Issue Links

          Activity

            People

              nebgor Aparup Banerjee
              svidusov Sergey Vidusov
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: