-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
2.0.7
-
None
-
2.0.7, ORACLE
-
Oracle
-
MOODLE_20_STABLE
-
The FINALGRADE in the GRADE_GRADES table is 0.
Last Friday, one instructor created about 20 manual grade items in her gradebook, and the type was SCALE (Absent, Excused, Present). From what I learned (not sure if it's correct or not), in the GRADE_GRADES table, all of the FINALGRADE for the SCALE type of items should be 1, 2, 3. However, today, in our database (ORACLE) I found most of them are "0", and some are "(null)". When I made the gradebook editable, the ones with value "0" and "(null)" show as "No garde". When I turned the editing off, the ones with "0" show as "Absent", and the ones with "(null)" show as "-".
I have no idea why there are records with "0" in the database tables, I thought either should be 1, 2, 3 or just no record for those students (still not graded yet). Also, I have no idea where the "Absent" comes from for those records with FINALGRADE as 0 in the GRADE_GRADES table when editing off. I think there is something to do with the lib/grade/grade_scale.php.
I am wondering how those records (with FINALGRADE as 0/(null) for manual SCALE type of homework).