-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.5, 3.0.3, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
Problem
Before a quiz is submitted the student receives an overview of all questions. For each question he/she gets the information 'answer saved', 'incomplete answer' or 'not yet answered'. This information is accompanied by a color code (also used in the quiz navigation): 'answer saved' is displayed in green, 'incomplete answer' in yellow and 'not yet answered' in white.
However, when the quiz contains section headings (edit quiz > add > add section heading) the information about each question is correct but the color is wrong. It seems that the color is shifted down the list according to the number of section headings.
Expected behaviour
The color and the information about the question should always match regardless of how many section headings a quiz contains.
Remark
In the quiz navigation the color code is fine.
How to reproduce
- Create a quiz with minimum 3 questions and at least one section heading.
- Open a preview, answer one question fully, one partially and do not attempt one of the questions.
- click on finish attempt (but do not yet submit the quiz) and have a look at the question overview.