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

variant field of question_attempts table is not getting backed up by Moodle backup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.11
    • 2.4.9, 2.5.5, 2.6.2
    • Questions
    • MOODLE_23_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Hide
      1. Create a test course.
      2. Add a quiz.
      3. Create a calculated simple question with a few dataset items (e.g. 3).
      4. Attempt the quiz once as a student.
      5. As teacher/admin, look at Quiz admin -> Results -> Statistics. (Following MDL-41757 this should let you see which variant the student got of each question.)
      6. Backup the course with user data.
      7. Restore it as a new course.
      8. Go to the Quiz statistics in the new course, and verify that the variant of each question has been correctly preserved.

      (If you cannot easily see this in the quiz statistics, then you may have to look in the database, question_attempts.variant columns.)

      Show
      Create a test course. Add a quiz. Create a calculated simple question with a few dataset items (e.g. 3). Attempt the quiz once as a student. As teacher/admin, look at Quiz admin -> Results -> Statistics. (Following MDL-41757 this should let you see which variant the student got of each question.) Backup the course with user data. Restore it as a new course. Go to the Quiz statistics in the new course, and verify that the variant of each question has been correctly preserved. (If you cannot easily see this in the quiz statistics, then you may have to look in the database, question_attempts.variant columns.)

    Description

      It seems to have been omitted from the list of fields to backup.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              jamiesensei Jamie Pratt
              Andrew Lyons Andrew Lyons
              Damyon Wiese Damyon Wiese
              Marina Glancy Marina Glancy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14