Affects Version/s: 2.3.3
Fix Version/s: None
Component/s: Block: AJAX Marking
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
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: Question 37360, slot 1, fraction 2
Error code: codingerror
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()