-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.7.10, 2.8.9, 2.9.3
-
None
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
The page for editing a users grade may not display the student if something happens to the assignments records between the time the user clicks on the Edit grade link and the page loads that would cause the order of the table view to change.
This may lead to teachers saving grades for the wrong student if they do not read the details on the page fully.
There are two ways the issue can be demonstrated:
Reproducible steps
I have found two ways to cause this issue to trigger.
The first way
Pre-requisites
- An assignment with three students (Student 1, Student 2, Student 3)
- Each student has submitted something
- Two editing teacher's (Teacher A, Teacher B)
The steps
- As Teacher A open the assignment
- Order the students by Last modified (submission) ascending
- In a second tab open the top students (Student 1) grading screen
- In a different browser open the assignment as Teacher B
- Give student 1 a grade and save
- In Teacher A's browser's grading tab refresh the page
- Student 1 will be replaced by another student's details
The expected result is that student 1 will still be shown
The second way
Pre-requisites
- An assignment with three students (Student 1, Student 2, Student 3)
- Each student has submitted something
- An editing teacher
The steps
- In the assignment order the students by surname ascending
- Open the grading window for the top student (Student 1) in a new tab.
- Verify that Student 1's grading page does appear.
- In the tab with the table change the order to sort by surname descending
- Refresh grading tab the details for student 3 will now be shown
The expected result is that student 1 will still be shown
If you save the result at any time in these tests the grader is saved against the student that was displayed on the page.
- duplicates
-
MDL-44330 Assignment opens up the "wrong" student grading form
-
- Closed
-