-
Bug
-
Resolution: Fixed
-
Critical
-
2.5.2
-
MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
Actually, this affects any activity that declares FEATURE_CONTROLS_GRADE_VISIBILITY.
To reproduce.
- Create a new quiz with default settings.
- Look in the gradebook grader report, and note that the grade item for this quiz is visible. (Best to keep the grader report open in a separate tab.)
- Edit the quiz, and under review options, turn off all the 'Marks' check boxes and Save.
- In the grader report, note that the grade item is now hidden. (This is FEATURE_CONTROLS_GRADE_VISIBILITY working correctly.)
- In the quiz settings, set Common module settings -> Visible to Hide and Save.
- In the gradebook, note the grade item is still hidden. (Correct.)
- In the quiz settings, change Common module settings -> Visible to Show and Save.
Actual result:
In the gradebook, the grade item is now visible (in spite of FEATURE_CONTROLS_GRADE_VISIBILITY).
Expected result:
Since the marks review options are still turned off, and since the quiz should be controlling the visibility of the grade item, the grade item should still be hidden.
- Discovered while testing
-
MDL-43123 Verify that individually hidden student grades are not made by visible by FEATURE_CONTROLS_GRADE_VISIBILITY activities like quiz
- Closed