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

Quiz attempt log restore rules do not match

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.3, 3.0
    • Fix Version/s: 2.9.4, 3.0.2
    • Component/s: Backup, Logging, Quiz
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This is a follow on from MDL-52141 - where we decided to delegate the problem to a seperate issue. Russell Smith 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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/16