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

Filters in Grading table are changing url to another student submission in grader view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.7.1, 3.7.3
    • Fix Version/s: None
    • Component/s: Assignment, Filters
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Set up a moodle 3.7 course with a gradable assignment and enrol some students into it.
      2. Go to the assignment submissions page for the assignment and make sure you have enough students so the initialsbar appears.
      3. Open one students submission for grading in a new tab.
      4. On the submissions page, apply a filter so the student does not appear anymore.
      5. Reload your other tab grading that student. The url should not change to another student now, one that matches your filters.
      Show
      Set up a moodle 3.7 course with a gradable assignment and enrol some students into it. Go to the assignment submissions page for the assignment and make sure you have enough students so the initialsbar appears. Open one students submission for grading in a new tab. On the submissions page, apply a filter so the student does not appear anymore. Reload your other tab grading that student. The url should not change to another student now, one that matches your filters.
    • Affected Branches:
      MOODLE_37_STABLE
    • Pull 3.7 Branch:
      MOODLE_37_STABLE-MDL-67484

      Description

      This is found in 3.7.1 and 3.7.3. Tested in 3.6.4 - no issues there.

      When filters (First Name, Surname) set up in Grading table mod/assign/view.php?action=grading, the url to the marking form, where teachers perform marking and grading mod/assign/view.php?id=XXXXX&rownum=0&action=grader&userid=XXXXX get changed and displays another student according to Filters.

      Test to reproduce:

      1. Go to course. Assessment Item. Open View All submission
      2. Go to Grade submission for any students . Open in new window. Copy that link. Close window.
      3. For page in step1 Apply filters to First Name (optional Surname). 
      4. Open a new window paste copied link. See which student in Marking form
      5. Expected. You see same student as in step 2
      6. Result. Moodle 3.7 failed. URL get changed to another student, according to filters on step 3
      7. Change Filters to First Name All , Surname All
      8. In new window paste copied link
      9. Confirm. Now you see right student displayed in marking form

       

        Attachments

          Activity

            People

            Assignee:
            kristianr Kristian Ringer
            Reporter:
            yuliiaborysova Yuliia Borysova
            Peer reviewer:
            Andrew Nicols
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m