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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.3.3
    • Block: AJAX Marking
    • None
    • MOODLE_23_STABLE

      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()

            mattgibson Matt Gibson (Inactive)
            alisterjones alisterjones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.