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

    • 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.)

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

            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

              Created:
              Updated:
              Resolved:

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