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

Quiz comment.php fails to validate the grade that was input, leading to a weird error.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.6, 2.2.3, 2.3
    • 2.1.7, 2.2.4
    • Quiz
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      1. As teacher: Created a quiz with a single essay question
      2. As student: Attempted quiz
      3. As teacher: reviewed attempt, clicked 'Make comment or override mark' to get to: http://oracle/moodle/mod/quiz/comment.php
      4. Attempted to mark the answer by adding a comment and writing adding a mark greater than the maximum mark
      5. Form would warn about mark added greater than maximum mark.
      6. Now correct the mark to be in range, and try saving again. It should work.

      Show
      1. As teacher: Created a quiz with a single essay question 2. As student: Attempted quiz 3. As teacher: reviewed attempt, clicked 'Make comment or override mark' to get to: http://oracle/moodle/mod/quiz/comment.php 4. Attempted to mark the answer by adding a comment and writing adding a mark greater than the maximum mark 5. Form would warn about mark added greater than maximum mark. 6. Now correct the mark to be in range, and try saving again. It should work.

    Description

      While running MDLQA-2517 I did the following:

      1. As teacher: Created a quiz with a single essay question
      2. As student: Attempted quiz
      3. As teacher: reviewed attempt, clicked 'Make comment or override mark' to get to: http://oracle/moodle/mod/quiz/comment.php
      4. Attempted to mark the answer by adding a comment and writing adding a mark greater than the maximum mark

      Expected result:

      • Form would warn about mark added greater than maximum mark.

      Actual result:

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              poltawski Dan Poltawski
              Aparup Banerjee Aparup Banerjee
              Aparup Banerjee Aparup Banerjee
              Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/12