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

Backups not sorted adequately

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • STABLE backlog
    • 2.1.4, 2.2.1
    • Backup
    • Any
    • MOODLE_21_STABLE, MOODLE_22_STABLE

    Description

      As highlighted by MDL-31386, there is a potential for moodle backups to restore incorrectly when natural database row order doesn't meet the ID sortorder.

      To address this, I think we need to look at two solutions:

      • ensuring that data is always sorted by ID at the backup phase (unless another field is more suitable in a particular case); and
      • ensuring that when restoring data, the XML data is re-sorted by ID if one is present.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.