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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 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.

    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

              timhunt Tim Hunt
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Glenn Ansley Glenn Ansley
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1/Jul/11