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

Quiz overal feedback is not displayed on Oracle, because it cannot compare a TEXT text column with ''

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.4, 1.9, 2.0
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      Solaris + Oracle
    • Database:
      Oracle
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      In some cases following error appears:

      ORA-00932: inconsistent datatypes: expected - got CLOB
      SELECT * FROM mlquiz_feedback WHERE quizid = 741 AND feedbacktext <>''

      • line 677 of lib/dmllib.php: call to debugging()
      • line 307 of lib/dmllib.php: call to get_recordset_sql()
      • line 290 of lib/dmllib.php: call to record_exists_sql()
      • line 346 of mod/quiz/locallib.php: call to record_exists_select()
      • line 181 of mod/quiz/view.php: call to quiz_has_feedback()

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/08