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

Assignment opens up the "wrong" student grading form

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 2.3.3
    • Assignment
    • MOODLE_23_STABLE

      Recently upgrade to 2.3.3 from 2.3.2
      Immediate problems with assignment
      when I click to grade a student I get the student above.
      the entire assignment is "misaligned"
      See attached picture.

      Replication steps:

      1. Log in as a teacher/admin
      2. Navigate to a course
      3. Create an assignment or use an existing one
      4. Click View/grade all submissions
      5. Note the order of students in the table
      6. Click the icon in the Grades column in the row of the second student
      7. Note the student associated with the submission
      8. Return to the grading page
      9. Click the icon in the Grades column in the row of the first student

      Expected result: The appropriate student and submission should be shown

      Actual result: The submission of the student from the row above is shown and clicking the top row results in an error

      Notice: Undefined offset: -1 in D:\xampp\htdocs\moodle_master_test_mysql\mod\assign\locallib.php on line 2068
       
      Coding error detected, it must be fixed by a programmer: Row is out of bounds for the current grading table: -1
       
      More information about this error
      Debug info:
      Error code: codingerror
      Stack trace:
       
          line 2073 of \mod\assign\locallib.php: coding_exception thrown
          line 398 of \mod\assign\locallib.php: call to assign->view_single_grade_page()
          line 53 of \mod\assign\view.php: call to assign->view()

            damyon Damyon Wiese
            vrrandall Vernellia Randall (Inactive)
            Votes:
            0 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.