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

mod_assign: clicking on the grade icon causes an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.4
    • Assignment
    • None
    • MOODLE_24_STABLE

      If I go into an instance of mod_assign where a student has a graded submission and click on the tick icon in the grade column I get the following. The URL is /mod/assign/view.php?id=104&rownum=-1&action=grade

      Notice: Undefined offset: -1 in /home/andrew/Desktop/code/moodle/dev/master/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
            andyjdavis Andrew Davis
            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.