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

No allowance for the possibility that something might go wrong when processing the response to a question

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Well, at the moment, question_process_responses in questionlib.php can return true of false to indicate success/failure, as can default_questiontype::grade_responses. However, question_process_responses ingores the return value of default_questiontype::grade_responses, and mod/quiz/attempt.php and question/preview.php ignore the return code from question_process_responses.

      I need to put in the necessary error handling.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/08