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

Upgrade site with 1 simple adaptive mode quiz from 2.0 to 2.1 breaks badly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.1
    • 2.1
    • Questions, Quiz
    • MySQL
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • Hide

      1. Create some adaptive quizzes in 2.0.
      2. Attempt them as student.

      3. Backup this up, and restore to 2.1. Make sure the attempts are upgraded OK during the restore.
      4. Regrade the restored attempts, and make sure the score does not change.

      5. Upgrade the 2.0 site to 2.1. Make sure the attempts are upgraded OK during the restore.
      6. Regrade the restored attempts, and make sure the score does not change.

      Show
      1. Create some adaptive quizzes in 2.0. 2. Attempt them as student. 3. Backup this up, and restore to 2.1. Make sure the attempts are upgraded OK during the restore. 4. Regrade the restored attempts, and make sure the score does not change. 5. Upgrade the 2.0 site to 2.1. Make sure the attempts are upgraded OK during the restore. 6. Regrade the restored attempts, and make sure the score does not change.

      To reproduce:

      • Install 20_STABLE site from scratch
      • Create one course, 1 teacher and 2 students
      • As teacher, create on quiz with only one true/false question - with Adaptive mode On.
      • As students, perform some attempts (1 correct and 1 incorrect at least)
      • Check that changing between highest and average grade does its job.
      • Save one backup of the course in a safe place (needed for MDL-28037)
      • Upgrade the site to 2.1
      • Go to the quiz and perform one "regrade all"

      Expected:

      • Nothing should change, old grades should be the same from last recalculation in 20_STABLE

      Current:

      • Grades change showing 0% no matter the answer was correct / incorrect. The responses report shows "-" for the "true" correct answers originally. Reviewing the attempt it shows correct feedback but evaluates it as incorrect with 0 mark points.

            timhunt Tim Hunt
            stronk7 Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Glenn Ansley Glenn Ansley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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