-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.7
-
None
-
MOODLE_27_STABLE
I have created an interactive with multiple tries quiz containing
1 numerical (my Q01 - I'll send them to you)
2 variable numeric (Q02)
3 variable numeric sets (Q03)
4 variable numeric sets with units (Q05)
Each question allowed 3 tries.
As a single student I answered to all four questions
1st try: 100
2nd try: 200
3rd try: 300.
All these answers are incorrect.
I then viewed the grades (OK), responses (OK), main statistics page (OK) and then I looked at the analysis of responses.
That for numerical looked as expected with 100 under try 1, 200 under try 2 and 300 under try 3.
But the other three questions gave problems. Here's what I see for Variable numeric.
( ! ) Notice: Undefined offset: 1 in /fs1/www_root/icmatest/moodle/question/classes/statistics/responses/analysis_for_question.php on line 114
Call Stack
- Time Memory Function Location
1 0.0005 257072 {main}( ) ../report.php:0
2 0.4296 31208920 quiz_statistics_report->display( ) ../report.php:99
3 0.8467 43179808 quiz_statistics_report->output_individual_question_response_analysis( ) ../report.php:238
4 0.8518 43294880 core_question\statistics\responses\analysis_for_question->get_subpart_ids( ) ../report.php:421
( ! ) Warning: array_keys() expects parameter 1 to be array, null given in /fs1/www_root/icmatest/moodle/question/classes/statistics/responses/analysis_for_question.php on line 114
Call Stack
# Time Memory Function Location
1 0.0005 257072 {main}( ) ../report.php:0
2 0.4296 31208920 quiz_statistics_report->display( ) ../report.php:99
3 0.8467 43179808 quiz_statistics_report->output_individual_question_response_analysis( ) ../report.php:238
4 0.8518 43294880 core_question\statistics\responses\analysis_for_question->get_subpart_ids( ) ../report.php:421
5 0.8522 43295272 array_keys ( ) ../analysis_for_question.php:114
( ! ) Warning: Invalid argument supplied for foreach() in /fs1/www_root/icmatest/moodle/mod/quiz/report/statistics/report.php on line 421
Call Stack
- Time Memory Function Location
1 0.0005 257072 {main}( ) ../report.php:0
2 0.4296 31208920 quiz_statistics_report->display( ) ../report.php:99
3 0.8467 43179808 quiz_statistics_report->output_individual_question_response_analysis( ) ../report.php:238
- has a clone
-
MDL-44980 quiz statistics report : break down of question and sub question stats by variants failing when there has only been one variant seen
-
- Closed
-