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

Fatal error upgrading from 1.9.12 to 2.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.1
    • 2.1
    • Questions
    • Any
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • 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.

    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

              timhunt Tim Hunt
              cfulton Charles Fulton
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1/Jul/11