Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7.3, 2.8.5, 2.9
-
Component/s: Conditional activities
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_27_STABLE, MOODLE_28_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-49477-master -
Pull Master Diff URL:
Description
When a teacher sets a "Grade" access restrictions on a ressource or an activity and wants to modify it later on, Moodle dosen't seem to take into account any kind of changes for the "less than" part.
For example, take a file ressource and set a Grade restriction so that a student must have ≥ 65% and < 80% in a "quiz" activity.
After saving it, try to deactivate the < 80% part of the restriction. Moodle will refuse to save it even though it "saves" the new setting. When returning into the Restric access, you will see that the < 80% is still activated. However, I wasn't able to reproduce the bug when playing with the "more than and equal to" values. It seems that it is only the "less than" that is affected.
I was able to reproduce this bug on Moodle 2.7.3 (vanilla version) and 2.9DEV.