-
Bug
-
Resolution: Fixed
-
Blocker
-
2.8.12, 2.9.6, 3.0.4, 3.1, 3.1.2
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-56753-master -
- Coding error on view assignment if a group is selected which is not included in grouping, when students submit in groups is enabled and grouping is selected in 'Grouping for student groups' and group mode is separate groups.
Steps to reproduce:
- Create at least 3 groups (G1, G2, G3) with some members.
- Create a grouping (G1_G2) that includes 2 groups. There should be at least 1 group(G3(1)) which is not part of grouping and not an empty group.
- Create an assignment with the following settings :
Group submission settings :
Students submit in groups - yes
Grouping for student groups - select grouping you created(G1_G2)
Common module settings :
Group mode - separate groups
- Click save and display.
- Assignment view page display grading summary for all participants by default.
- Choose group G3 (not included in grouping G1_G2) form separate groups drop-down above to Grading summary.
Expected result: It should display Grading summary.
Actual result: The following error occurs on a broken page.
Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays
|
× Debug info:
|
Error code: codingerror
|
× Stack trace:
|
line 726 of /lib/dml/moodle_database.php: coding_exception thrown |
line 1840 of /mod/assign/locallib.php: call to moodle_database->get_in_or_equal() |
line 4780 of /mod/assign/locallib.php: call to assign->count_submissions_with_status() |
line 4844 of /mod/assign/locallib.php: call to assign->get_assign_grading_summary_renderable() |
line 594 of /mod/assign/locallib.php: call to assign->view_submission_page() |
line 52 of /mod/assign/view.php: call to assign->view() |
|
- is a regression caused by
-
MDL-38128 Summary grading information for assignments with groups is not correct
- Closed