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

Quiz attempt log restore rules do not match

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.3, 3.0
    • 2.9.4, 3.0.2
    • 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.

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mr-russ Russell Smith
              poltawski Dan Poltawski
              Tim Hunt Tim Hunt
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jan/16