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

Category has no items when editing Question with oracle database

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1, 1.8
    • Component/s: Questions
    • Labels:
      None
    • Environment:
      Moodle 1.7 on Oracle Xe database
    • Database:
      Oracle
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      The SQL used to retrieve the list of categories within lib/questionlib.php in function question_category_select_menu() is not valid in oracle, as the ORDER BY fields do not have a table specified. Oracle thus complains they are ambiguous.

      Diff file attached.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            redcane Mark Hetherington
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Jan/07