-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.1
-
None
-
MOODLE_21_STABLE
-
MOODLE_21_STABLE
-
MDL-27639_wip -
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.
- is blocked by
-
MDL-27822 Module version number from backup file should be available in restore_activity_structure_step::define_structure()
- Closed