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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Questions, Quiz
    • Labels:
    • Database:
      MySQL
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Glenn Ansley
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11