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

Oracle error "ORA-01008: not all variables bound" when passing object with __toString in $params

    XMLWordPrintable

    Details

    • Database:
      Oracle
    • Testing Instructions:
      Hide

      1. Run all the unit tests in question and mod/quiz.

      2. Test attempting a quiz.

      3. Test previewing a question from the question bank.

      4. Test all the quiz reports, on a quiz with several student attempts. In particular test manual grading through the grading report.

      Show
      1. Run all the unit tests in question and mod/quiz. 2. Test attempting a quiz. 3. Test previewing a question from the question bank. 4. Test all the quiz reports, on a quiz with several student attempts. In particular test manual grading through the grading report.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      You can trigger this in the quiz reports (which work on other DBs):

      When Instructor clicks on homework quiz Report, Gets Error

      Error reading from database

      More information about this error

      Debug info: ORA-01008: not all variables bound

      etc - see below

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              cpduggan Cindy Duggan
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Nov/11