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

Problems upgrading quizzes in sites with orphan question categories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2, 1.8
    • Fix Version/s: 1.6.6, 1.7.3, 1.8.1
    • Component/s: Backup, Quiz, Unicode
    • Labels:
      None
    • Environment:
      all platform
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      A error in file "mod/quiz/db/mysql.php" line 840 (moodle1.6.5+) or line 845 (moodle cvs)

      Error "last blanks" : require_once("$CFG->libdir/questionlib.php ");

      OK: require_once("$CFG->libdir/questionlib.php");

        Gliffy Diagrams

        1. mysql.php
          65 kB
          Rafa Gutierrez

          Activity

          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Detected. Was related with a change performed with MDL-6116.

          Fixing the typo now in all branches... hopefully I only affected sites with "orphan" categories.

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Detected. Was related with a change performed with MDL-6116 . Fixing the typo now in all branches... hopefully I only affected sites with "orphan" categories.
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Changing bug title and assigning fix versions...

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Changing bug title and assigning fix versions...
          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Done, the typo has been fixed in 16_STABLE, 17_STABLE, 18_STABLE and HEAD. Should be available in next nightly builds.

          Thanks Rafa!

          Ciao

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Done, the typo has been fixed in 16_STABLE, 17_STABLE, 18_STABLE and HEAD. Should be available in next nightly builds. Thanks Rafa! Ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jun/07