Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4268

Score out of range when processing a manual grading action -- gives an error page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.3
    • Fix Version/s: None
    • Component/s: Block: AJAX Marking
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      ajax marking block 2012110903

      Moodle 2.3.6 (Build: 20130318)

      Coding error detected, Score out of range when processing a manual grading action

      If adding a grade higher than the maximum – grading_popup.php displays the above error message.

      This seems to be ressolved in

      https://tracker.moodle.org/browse/MDL-33548
      and duplicated in
      https://tracker.moodle.org/browse/MDL-31770

      but when using the Ajax marking block an error is displayed...
      Is it possible to display a more friendly html message instead
      have the Ajax marking block handle the input validation in a similar way.

      debug info:

      Debug info: Question 37360, slot 1, fraction 2
      Error code: codingerror
      Stack trace:

      line 460 of /question/behaviour/behaviourbase.php: coding_exception thrown
      line 62 of /question/behaviour/manualgraded/behaviour.php: call to question_behaviour->process_comment()
      line 1052 of /question/engine/questionattempt.php: call to qbehaviour_manualgraded->process_action()
      line 559 of /question/engine/questionusage.php: call to question_attempt->process_action()
      line 534 of /question/engine/questionusage.php: call to question_usage_by_activity->process_action()
      line 1327 of /mod/quiz/attemptlib.php: call to question_usage_by_activity->process_all_actions()
      line 215 of /blocks/ajax_marking/modules/quiz/block_ajax_marking_quiz.class.php: call to quiz_attempt->process_submitted_actions()
      line 93 of /blocks/ajax_marking/actions/grading_popup.php: call to block_ajax_marking_quiz->process_data()

        Attachments

          Activity

            People

            • Assignee:
              mattgibson Matt Gibson
              Reporter:
              alisterjones alisterjones
              Participants:
              Component watchers:
              Matt Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: