Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3975

Upgrading Realtime Quiz 0.8 to Realtime Quiz 2.x build 2012011300 fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: Module: Realtime Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: