• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1
    • 2.1
    • Questions, Quiz
    • None
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • MDL-27639_wip
    • 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.

      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.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            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.