-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.3
-
MOODLE_21_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-30764-master -
-
If you decide to turn off both the 'Grouping' and 'Group members only' options on some activity types, the grouping change is not saved because the field gets disabled, so it is not set to 'none'.
My proposed solution is that the 'disable' logic should only apply when adding a new activity or one which has grouping set to 'None'. If grouping value in database is not none, then the field will not be disabled, regardless of the setting of groupmembersonly.
NOTE: The same problem also affects ordinary use of groupings if you set group mode to 'None'. I found it first with groupmembersonly, but am fixing for both.