Resolution: Cannot Reproduce
Affects Version/s: 2.5.2, 2.5.5, 2.6
Fix Version/s: None
- Create one assignment
- Submit one attempt with one student
- Change assignment submission to ASSIGN_SUBMISSION_STATUS_REOPENED
- Verify that the grading table shows correctly
Affected Branches:MOODLE_25_STABLE, MOODLE_26_STABLE
Pull from Repository:
Pull Master Branch:
there is a bug introduced by
MDL-38973 when you have a submission with status ASSIGN_SUBMISSION_STATUS_REOPENED and just one attempt.
Here is the code that fails mod/assign/gradingtable.php:
Here is the $row variable record that causes the bug:
Here is the obvius (but not exactly the best) fix:
Would appreciate very much if someone could take a look.