-
Bug
-
Resolution: Not a bug
-
Major
-
None
-
2.3.6, 2.4.3
-
MOODLE_23_STABLE, MOODLE_24_STABLE
In the grader report, with AJAX editing switched on, markers are given an editing interface which allows them to change the grade. However, when trying to save the grade, a message pops up saying "TO BE LOCALISED: Failure to update grade!"
To reproduce:
- Manually create a grade item in a course
- Lock the item
- Make sure that AJAX editing is on for the grader report
- Go into the grader report and click on the item for a student. You should see an editing interface (either a text box or a dropdown menu if using a scale)
- Enter or select a grade and press return or move focus elsewhere on the page to save the grade
- You see the error message "TO BE LOCALISED: Failure to update grade!"
The behaviour I would expect in this case would be that the editing interface is not presented, rather than having a more user-friendly error message such as "This grade cannot be edited as it is locked".
Just to be clear, this is not a duplicate of MDL-31658, although that issue appears to have been reported in response to a forum thread detailing the issue described here. (https://moodle.org/mod/forum/discuss.php?d=196114)