-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
2.2.3
-
None
-
MOODLE_22_STABLE
When migrating a Moodle instance from 1.9 to 2.x, the Realtime Quiz module must be updated. However, Realtime Quiz quizzes created in Moodle 1.9 are not migrated along the way, causing problems with the module.
For reference, Realtime Quiz quizzes will be referred to as "quizzes" in the bug description for brevity (I do not refer to Moodle quizzes).
Steps to reproduce :
- Install Realtime Quiz 0.8 in Moodle 1.9
- Create quizzes in Moodle 1.9
- Migrate the Moodle instance to 2.2 (upgrading Realtime Quiz to 2.x build 2012011300 along the way)
What happens :
Some quizzes might show, others might not. Creating quizzes will not work, showing a database error.
What was expected :
Quizzes should all be there, creating quizzes should work
Possible cause :
After doing a diff between Realtime Quiz 0.8 and Realtime Quiz build 2012011300's "db/install.xml" file, I noticed changes in the database structure. However, in Realtime Quiz build 2012011300, "db/upgrade.php" doesn't seem to provide upgrade instructions (xmldb_realtimequiz_upgrade is "empty", it only returns true). Therefore, after upgrading the module, the database structure no longer corresponds to specifications.