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

Need better validation of input when doing manual grading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.2, 2.2.1
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Workaround:
      Hide

      Don't type in a grade that is out of range!

      Show
      Don't type in a grade that is out of range!
    • Testing Instructions:
      Hide

      1. log in as a teacher in a course
      2. click on a quiz containing at least one attempt
      3. click on the "Attempts: N" link
      4. click on one of the 'review response link"
      5. click on "Make comment or override mark"
      6. input a mark higher than the max grade

      Result:
      Coding error detected, it must be fixed by a programmer: Score out of range when processing a manual grading action

      Show
      1. log in as a teacher in a course 2. click on a quiz containing at least one attempt 3. click on the "Attempts: N" link 4. click on one of the 'review response link" 5. click on "Make comment or override mark" 6. input a mark higher than the max grade Result: Coding error detected, it must be fixed by a programmer: Score out of range when processing a manual grading action

      Description

      It is possible as a teacher to manually grade a question. If you grade the student higher than the maximum grade (i.e max grade 1, you input 2), this error's message appears "Coding error detected, it must be fixed by a programmer: Score out of range when processing a manual grading action". After, you will have no choice but to press the "continue" button. I think the message is quite misleading. We should at least drop the part saying "Coding error detected, it must be fixed by a programmer." This is pretty alarming for a teacher !

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              raphael_godue Raphael Godue
              Participants:
              Component watchers:
              Tim Hunt, Andrew Lyons, Dongsheng Cai, 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: