Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create a course in Moodle 2.0 with quizzes using as many question types as possible.
      2. Attempt the quizzes as various students, getting the questions right/wrong/partially right, etc. and leaving some attempts half complete.
      3. Backup this course.
      4. Restore this course into Moodle 2.1.

      Verify that each attempt is in the equivalent state in the 2.1 and 2.0 course.

      Show
      Create a course in Moodle 2.0 with quizzes using as many question types as possible. Attempt the quizzes as various students, getting the questions right/wrong/partially right, etc. and leaving some attempts half complete. Backup this course. Restore this course into Moodle 2.1. Verify that each attempt is in the equivalent state in the 2.1 and 2.0 course.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-27639_wip

      Description

      Just needs to grad all the data for each old question_session and the associated states into in-memory arrays, load the associated questions and quiz settings info, and then use question/engine/upgrade/upgradelib.php code to transform it an write it to the database.

      To see the kind of input data the upgrade code needs, see, for example, https://github.com/timhunt/Moodle-Question-Engine-2/blob/qe2_wip/question/type/shortanswer/db/simpletest/testupgradelibnewqe.php#L348. I don't see any problems doing that in the restore code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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