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

Error adding parameter "Available for group members only" in a course without students enrolled Error generated on a assignment activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6.2, 2.7
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE

      Description

      Error adding parameter "Available for group members only" in a course without students enrolled Error generated on a assignment activity.

      This is the error captured by the debug:

      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 3895 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()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ramiro.romero Ramiro Romero Acevedo
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: