Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52096

Assignment grade editing page may not display expected student

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.10, 2.8.9, 2.9.3
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE

      Description

      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

      1. As Teacher A open the assignment
      2. Order the students by Last modified (submission) ascending
      3. In a second tab open the top students (Student 1) grading screen
      4. In a different browser open the assignment as Teacher B
      5. Give student 1 a grade and save
      6. In Teacher A's browser's grading tab refresh the page
      7. 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

      1. In the assignment order the students by surname ascending
      2. Open the grading window for the top student (Student 1) in a new tab.
      3. Verify that Student 1's grading page does appear.
      4. In the tab with the table change the order to sort by surname descending
      5. 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nmagill Neill Magill
              Reporter:
              nmagill Neill Magill
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: