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

Quiz attempt log restore rules do not match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9.4, 3.0.2
    • 2.9.3, 3.0
    • Backup, Logging, Quiz
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • Hide

      GIVEN a course with a quiz and user attempts from Moodle 2.5 (Use the one attached MDL-52141)

      1. Backup a course including user data. (Use MDL-52141, and read the historical testing comments to get the context of this issue)
      2. Ensure you have developerdebug turned on so you can confirm no debug messages are displayed upon restore.
      3. Ensure legacy log data is turned on (Site Administration > Plugins > Logging > Manage log stores
      4. Enable "Legacy Log"
      5. Click "Settings" for "Legacy Log"
      6. Select "Log legacy data" and "Save Changes"
        • Make sure that "Legacy log" is at the top of the list of available log stores.
      7. Restore the course to Moodle 2.9 or Moodle 3.0
      8. Ensure all continue attempt records are restored and don't report debug messages.
      Show
      GIVEN a course with a quiz and user attempts from Moodle 2.5 (Use the one attached MDL-52141 ) Backup a course including user data. (Use MDL-52141 , and read the historical testing comments to get the context of this issue) Ensure you have developerdebug turned on so you can confirm no debug messages are displayed upon restore. Ensure legacy log data is turned on (Site Administration > Plugins > Logging > Manage log stores Enable "Legacy Log" Click "Settings" for "Legacy Log" Select "Log legacy data" and "Save Changes" Make sure that "Legacy log" is at the top of the list of available log stores. Restore the course to Moodle 2.9 or Moodle 3.0 Ensure all continue attempt records are restored and don't report debug messages.

      This is a follow on from MDL-52141 - where we decided to delegate the problem to a seperate issue. mr-russ created a patch fixing the quiz attempt logs:
      https://github.com/mr-russ/moodle/commit/e40decc1c66c590d4617b05e8dcec12159babd88

      Steps to reproduce:

      • Restore the 2.5 quiz backup from MDL-52141
      • Ensure the logs are restored correctly matching the original course

            mr-russ Russell Smith
            poltawski Dan Poltawski
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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