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

Multiple attempts on group submission throws an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.5, 3.5.2, 3.6
    • 3.0, 3.1, 3.3.3, 3.4, 3.4.4, 3.5.1, 3.6
    • Assignment
    • 3.4 Sprint 5

      When you are grading students on an assignment with group submission enabled, after few gradings and attempts it throws an error:

      Did you remember to make the first column something unique in your call to get_records? Duplicate value '3' found in column 'id'.
      line 791 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
      line 1616 of /lib/tablelib.php: call to pgsql_native_moodle_database->get_records_sql()
      line 1636 of /lib/tablelib.php: call to table_sql->query_db()
      line 1227 of /mod/assign/renderer.php: call to table_sql->out()
      line 1023 of /mod/assign/renderer.php: call to mod_assign_renderer->flexible_table()
      line 317 of /lib/outputrenderers.php: call to mod_assign_renderer->render_assign_grading_table()
      line 3436 of /mod/assign/locallib.php: call to plugin_renderer_base->render()
      line 3485 of /mod/assign/locallib.php: call to assign->view_grading_table()
      line 552 of /mod/assign/locallib.php: call to assign->view_grading_page()
      line 52 of /mod/assign/view.php: call to assign->view()
      

      This debugging message is show on the "View all participants" page where quick grading is possible.
      This can also result in the wrong attempt being shown for a member of the group, which would show a previous grade received.

            damyon Damyon Wiese
            lameze Simey Lameze
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

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