When an assignment (2.3) is set to "No Grade" and uses outcomes, Quick Grading does not work with the outcomes. There is no error but the changes do not save.
The culprit seems to be in the form for process_save_quick_grades(). The process assumes that the form supplies a parameter of grademodified_USERID but this parameter is not passed when the assignment is set to No Grade. It appears that Assignment really depends on the grade being present.
Steps to reproduce
- Enable Outcomes
- Navigate to a course with students. Ensure an outcome is available in the course. If not, create one.
- Create a 2.3 assignment
- Set grade to "No Grade"
- Enable 1 or more outcomes
- Grade the assignment
- Set mode to Quick Grading.
Actual Result: The form displays "The grade changes were saved", but no outcomes or comments have been saved.
Expected Result: Outcomes and comments are saved.