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

Links to a single student's grading page from the Assignment Grading page goes to wrong student

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.3.3
    • 2.3.1
    • Assignment
    • None
    • PostgreSQL
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      Sort the grading table by a unique column (like lastname) before opening the single grading page.

      Show
      Sort the grading table by a unique column (like lastname) before opening the single grading page.
    • Hide

      Prerequisite: PostgreSQL

      1. Create a new assignment in a course with multiple students. Enable at least one submission plugin.
      2. Leave blind marking disabled
      3. Go to the grading table in the assignment (View/grade all submissions)
      4. Click on the "Last modified (submission)" column header to sort by the submission date
      5. Click on the "Last modified (grade)" column header to sort by the graded date
      6. Remember the name of the first student in the list
      7. Click on the grade button for the first student in the list
        Expected result: The name of the student in the grading page matches the first row in the grading table
        Actual result: A random student will be shown in the grading page
      Show
      Prerequisite: PostgreSQL Create a new assignment in a course with multiple students. Enable at least one submission plugin. Leave blind marking disabled Go to the grading table in the assignment (View/grade all submissions) Click on the "Last modified (submission)" column header to sort by the submission date Click on the "Last modified (grade)" column header to sort by the graded date Remember the name of the first student in the list Click on the grade button for the first student in the list Expected result: The name of the student in the grading page matches the first row in the grading table Actual result: A random student will be shown in the grading page

      When the current sort for the grading table is for a column that contains duplicate values (or no values) the returned order of rows is random. This affects the single grading page which is supposed to step through the rows in the grading table in a fixed order.

      This can be reliably triggered by sorting on the last modified (submission) column and then the last modified (grade) column when both of those columns contain no data as tablelib does not sort by any more than 2 columns (so this will ensure there are no other columns in the current sort).

            damyon Damyon Wiese
            swit Matthew G. Switlik
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.