-
Bug
-
Resolution: Fixed
-
Minor
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_23_STABLE
-
Noticed the error while testing MDL-34468. This issue might be related to MDL-34164.
To reproduce:
1. Review quiz attempt.
2. change the attempts to other value other than the pre-selected.
3. select the show report button.
It produces the following error:
Debug info:
|
Error code: codingerror
|
Stack trace:
|
|
line 846 of /mod/quiz/locallib.php: coding_exception thrown
|
line 516 of /mod/quiz/attemptlib.php: call to quiz_attempt_state_name()
|
line 155 of /mod/quiz/report/attemptsreport_table.php: call to quiz_attempt::state_name()
|
line 703 of /lib/tablelib.php: call to quiz_attempts_report_table->col_state()
|
line 1271 of /lib/tablelib.php: call to flexible_table->format_row()
|
line 66 of /mod/quiz/report/overview/overview_table.php: call to table_sql->build_table()
|
line 1383 of /lib/tablelib.php: call to quiz_overview_table->build_table()
|
line 236 of /mod/quiz/report/overview/report.php: call to table_sql->out()
|
line 100 of /mod/quiz/report.php: call to quiz_overview_report->display()
|