-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.11, 4.1, 4.1.5, 4.2.2
-
3
-
HQ 2023 Planning i2 Moppies
Hello,
we have detected a possible bug in the activity module date restrictions settings. When setting two sets of valid date restrictions, a warning is displayed stating "Conflicts with other date restrictions". The conflict doesn't seem to be there.
We have tested this in both Moodle 3.11.11 and 4.1. It can be replicated by following the steps below:
- Create an empty course.
- Create an activity (quiz, for example) and set date restrictions as follows:
- Add a restriction set.
- Within the previous set, add two new separate sets.
- Within the last two sets, add, in each set, two date restrictions and configure them as shown in the screenshots (group restriction are optional).
- Add a grade restriction on the first level as show in the screenshots.
- This is not really necessary to reproduce the problem, it is just to make sense of the first level of conditions, otherwise it might seem redundant. This is the way, in the actual use case, we have detected the error.
Expected: should not show the date conflict warning.
What happens: shows date conflict between two dates that should be independent.
I have created a post in the moodle forum about this: https://moodle.org/mod/forum/discuss.php?d=441498
It could be related to this issue: https://tracker.moodle.org/browse/MDL-72490
Regards