-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.4.1
-
None
-
2012112900
-
MOODLE_24_STABLE
Manually graded marks not appearing in quiz results for any quiz that had ddmatch question types associated to it.
Upgrade path was from 1.9 to 2.2 version of ddmatch and then a subsequent 2.4 upgrade.
If you try to review attempts for the quiz you get the following error
Coding error detected, it must be fixed by a programmer: There is no question_attempt number 86254 in this attempt.
:
Error code: codingerror
Stack trace:
line 225 of /question/engine/questionusage.php: coding_exception thrown
line 239 of /question/engine/questionusage.php: call to question_usage_by_activity->check_slot()
line 186 of /question/engine/questionusage.php: call to question_usage_by_activity->get_question_attempt()
line 556 of /mod/quiz/attemptlib.php: call to question_usage_by_activity->get_question()
line 480 of /mod/quiz/attemptlib.php: call to quiz_attempt->number_questions()
line 498 of /mod/quiz/attemptlib.php: call to quiz_attempt->__construct()
line 508 of /mod/quiz/attemptlib.php: call to quiz_attempt::create_helper()
line 46 of /mod/quiz/review.php: call to quiz_attempt::create()