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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.6, 2.2.3, 2.3
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

              Assignee:
              timhunt Tim Hunt
              Reporter:
              poltawski Dan Poltawski
              Integrator:
              Aparup Banerjee
              Tester:
              Aparup Banerjee
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jul/12