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

When upgrading from 1.9.17 to 2.2.3, the quiz upgrade has question session errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Component/s: Installation, Questions
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      I have been testing a Moodle 1.9.17 to 2.2.3 upgrade for one of our large college clients (with one of the biggest college moodles in the UK).

      They are getting two problems that are preventing the upgrade from being successful. Firstly, when it gets to the mod_quiz section of the upgrade (which is being run from the command line), the upgrade process throws out a very large number of errors of the following form:

      !! Coding error detected, it must be fixed by a programmer: Two inconsistent open states for question session 32662. !!

      Shortly followed by:

      !! Coding error detected, it must be fixed by a programmer: Cannot supply a missing qsession for question 8837 in attempt 2759. !!

      and then

      !! Question sessions for question 8837 were missing when upgrading question usage 2764. !!

      and then a short while later, it does the whole thing again (with different session and question numbers). There must be thirty or more of these.

      Does this represent a real problem, or is it just reporting the actual state of the database and thus we are no worse off than before?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              keoghs Sean Keogh
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: