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

Assignment error when no students are assigned to groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6.3
    • Assignment, Groups
    • MOODLE_26_STABLE

      Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays

      More information about this error
      Debug info:
      Error code: codingerror
      Stack trace:

      line 693 of /lib/dml/moodle_database.php: coding_exception thrown
      line 869 of /lib/grouplib.php: call to moodle_database->get_in_or_equal()
      line 1304 of /mod/assign/locallib.php: call to groups_filter_users_by_course_module_visible()
      line 1349 of /mod/assign/locallib.php: call to assign->list_participants()
      line 3899 of /mod/assign/locallib.php: call to assign->count_participants()
      line 528 of /mod/assign/locallib.php: call to assign->view_submission_page()
      line 53 of /mod/assign/view.php: call to assign->view()

      Steps to replicate.
      1. Create course
      2. Create groups
      3. Create groupings
      4. Create Assignment with Common Module Settings

      Group mode: Separate groups
      Grouping: select group
      Available for group members only checked.

      5. Save and return to course.
      6. Click on assignment and receive error.

            Unassigned Unassigned
            whereduck David Richards
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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