-
Bug
-
Resolution: Fixed
-
Minor
-
4.3 regressions, 4.4
-
Team Alpha - Sprint 3 I3-2024
An issue was identified in MDLQA-18959 where an "undefined array key" warning appears when attempting to revert grade overrides in gradebook. This seems to occur under specific conditions, depending on the error reporting settings.
Steps to reproduce:
- Login as admin.
- In Site administration > Development > Debugging set:
- Debug messages: NORMAL
- Display debug messages: Yes
- Create a course and enrol at least one student.
- Create at least one gradable activity in the course (e.g. Assignment)
- Go to the Grader report in the course.
- Enable edit mode and add a grade for the student for the activity.
- Now, go to the Edit grade page by clicking on the 'Edit grade' option from the contextual menu next to the grade in the report.
- In the Edit grade page, uncheck the 'Overridden' setting and notice that the feedback text area is now disabled.
- Save changes
- expected: the changes are saved and the grade overridde has been reverted.
- actual: an error is shown: Undefined array key "text" in /opt/app/grade/edit/tree/grade.php on line 171
- Discovered while testing
-
MDLQA-18959 CLONE - A teacher can override grades
-
- Passed
-
- is a regression caused by
-
MDL-78436 Overridden feedback behavior is not consistent on Gradebook
-
- Closed
-