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

Fatal error upgrading from 1.9.12 to 2.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Questions
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Create a 1.9 instance.
      2. Upgrade the code to 2.1.
      3. Run the upgrade.

      The upgrade will hang without explanation on qtype_multichoice.

      Show
      1. Create a 1.9 instance. 2. Upgrade the code to 2.1. 3. Run the upgrade. The upgrade will hang without explanation on qtype_multichoice.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Upgrade hangs on qtype_multichoice. The upgrade code for requires the qtype_random library, which in turn relies on the class definition for question_type. This definition isn't available, so it dies. I would consider this a blocker.

      Patch here: https://github.com/mackensen/moodle/commit/1bb96eea49f01f8d95b087e934e85a791c74b1fe. Adding that line allowed my test upgrade to complete.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              cfulton Charles Fulton
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Jul/11