-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.4, 2.6.1, 2.7
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
wip-
MDL-43828-master -
I noticed it writing behat test for recent activity block.
- Create a course with several groups
- Create a grouping (grouping1) that has a single group and a grouping (grouping2) that has several groups
- Create a forum in separate groups mode with the grouping1
- Create a forum in separate groups mode with the grouping2
- As a teacher try to post in those forums, in the first case there is no group select, in the second case there is a group select.
As a result in the first case teacher is unable to create a post that is limited to the group. Whatever he creates is visible to everybody (including students who are not in the grouping). In the second case he is able to limit the post to one or another group
There is an odd condition in the code, introduced in MDL-18128
https://github.com/moodle/moodle/commit/2edcf21abf47551759ac80e3e59667a62f076813