When looking at the report (complete or outline) of a users activity in a course, the grades themselves do not show - as seen in the below screenshot, the grades are replaced with a "-":
When examining the specific assignment, though, its clear that the user did receive a grade (bestået=passed):
The error applies only to a few specific users - and examining the MySQL tables of the Moodle installation reveals that the "mdl_grade_grades_history"-table contains a series of entries for that user, rather than the "mdl_grade_grades"-table.
This leads me to the conclusion that the user may have been unenrolled from the course at one time, and has then been re-enrolled, thus "archiving" that users grades.
Is there any way to restore those grades? Is there any way to make those archived grades appear in the gradebook?
While I do realize I could export the entries manually and convert & insert them into the mdl_grade_grades table, that just seems like a bad solution, and would be a lot of (hopefully unnecessary) work.
Any help would be much appreciated.