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

Oracle error in questiontype.php on line 919 (invalid character)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.8
    • Fix Version/s: 1.9.9
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      Redhat Linux, Oracle 11g
    • Database:
      Oracle
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      There is an error in the sql where a semi-colan has been accidently placed into the questiontype.php file on like 919. I have removed this error and uploaded a patch for the fix

      Reproduce :

      Go into a quiz and try to create a new question eg http://moodle-techdev.cqu.edu.au/question/question.php is the page that will cause the error.

      Thu Apr 29 11:54:19 2010] [error] [client 138.77.10.72] SQL ORA-00911: invalid character in /usr/local/moodle-core/releases/rel-20100113-8/lib/dmllib.php on line 966. STATEMENT: SELECT i.,d. FROM m_question_datasets d, m_question_dataset_definitions i WHERE i.id = d.datasetdefinition AND i.category = 8349; with limits (, ), referer: http://moodle.cqu.edu.au/question/question.php?returnurl=http%3A%2F%2Fmoodle.cqu.edu.au%2Fmod%2Fquiz%2Fedit.php%3Fqpage%3D0%26amp%3Bcat%3D8349%252C17241%26amp%3Bcmid%3D58047&cmid=58047&id=54247

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jun/10