Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-59042-master -
Description
Found during review of MDL-58900, which was attempting to fix the duplication of sortorder and priority values (another issue).
To replicate:
- Create a course with 2 groups (Group A and Group B) and enrol a student in both groups
- Create an assignment
- Create a group override for Group A
- Create a group override for Group B
- Check the 'event' table and confirm that it has priority values of 1 and 2 for these overrides.
- Check the group overrides UI and make sure Group A is listed first (top)
- Now, edit the Group A override and just save it without changing anything.
- Check the event table again, and notice that the priority for the first override is no longer set (null).
- Log in as a student and go to the dashboard.
Expected result: You should see the override for the assignment for Group A
Actual result: You see the override for Group B because A has had its event priority nulled.
Attachments
Issue Links
- Discovered while testing
-
MDL-58900 Possible to create two assign overrides with the same sortorder
-
- Closed
-