Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44118

Remove admin/tool/qeupgradehelper

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      In Moodle 2.4, 2.5 or 2.6.

      1. Go to Admin -> environment check, and check whether your site is ready for 2.7. There should be no sign of the new test since it is passing.
      2. In the database, change quiz_attempts.needsupgradetonewqe to 1 for one row. Now the environment check should tell you that you have problems (at the bottom).

      Now, in master

      1. Run the upgrade. Verify no errors.
      2. Look in the DB, and check that the question_session and question_states tables are gone, as is the quiz_attempts.needsupgradetonewqe column.
      3. Check that tool_qeupgradehelper is no longer listed in the admin menu.
      4. Check that its version number is no longer in the config_plugins table.
      5. Get a Moodle 2.0 backup including a quiz with user data.
      6. Restore that backup, and verify that all the quiz attmepts have been restored properly (compare the Attempt review in 2.0 and master versions).
      Show
      In Moodle 2.4, 2.5 or 2.6. Go to Admin -> environment check, and check whether your site is ready for 2.7. There should be no sign of the new test since it is passing. In the database, change quiz_attempts.needsupgradetonewqe to 1 for one row. Now the environment check should tell you that you have problems (at the bottom). Now, in master Run the upgrade. Verify no errors. Look in the DB, and check that the question_session and question_states tables are gone, as is the quiz_attempts.needsupgradetonewqe column. Check that tool_qeupgradehelper is no longer listed in the admin menu. Check that its version number is no longer in the config_plugins table. Get a Moodle 2.0 backup including a quiz with user data. Restore that backup, and verify that all the quiz attmepts have been restored properly (compare the Attempt review in 2.0 and master versions).
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This tool was relevant to the upgrade from Moodle 2.0 -> 2.1. I think we can remove it now. (Which is easier than fixing it to account for the MDL-43749 chagnes.)

      Before doing this, we should write a custom environment check, to verify that all attempt data has been upgraded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                timhunt Tim Hunt
                Peer reviewer:
                Eloy Lafuente (stronk7)
                Integrator:
                Damyon Wiese
                Tester:
                Damyon Wiese
                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:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14