Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.11.10, 4.0.4
-
None
-
None
-
MOODLE_311_STABLE, MOODLE_400_STABLE
Description
When a course reset is done with the option to remove all ratings from the forum (or in anything where the gradebook for the forum is reset and items removed) the grades held in the module in forum_grades is not removed.
Subsequently when the Whole Forum Grading UI is displayed, and there is an existing user from before the reset still in the class, their previous grade is reinstated in the UI (even though the gradebook is empty for them).
- Find a forum with grading enabled
- Grade the a user's post in the forum.
- Check that grade appears in the gradebook
- Verify grade appears in forum_grades. (DB Access required)
- Reset course, setting forum to remove all ratings
- Access the forum again and re-grade the user
- Verify the grade from (2) appears in the grading form
- Verify the grade in the grade book is null.