Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7.2
-
Fix Version/s: 2.7.3
-
Component/s: Conditional activities
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Steps to reproduce:
- Login as teacher
- Go to "Activity examples" test site
- In course settings, set "Course layout" to "Show one section per page"
- Turn editing on
- Click on the "Assignments" section so that only that section is showing.
- Edit section "Assignments" by clicking on the gear icon under the section name.
- Click "Expand all", then in the "Restrict access' section I added the following 2 grade restrictions:
- "Lesson 1 - Basic parts" must be >= 85%
- "Lesson 2 - Question types" must be >= 85%
- Clicked "Save changes"
- Verified that blocks do not display for the teacher with either editing turned on or off.
Note that blocks do display for students.
Also, note that conditional activities does not cause the blocks to disappear if you do not include a grade restriction. Also, the conditional restriction doesn't cause the bug if there is only 1 restriction added.