Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1.7, 2.2.4
-
Component/s: Course
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
Description
To reproduce
- Got to Site administration > Security > Module security
- Switch on 'Restrict modules for..' to 'all course'
- Tick 'Restrict modules by default'
- Select a few modules in the list and save
- Create a new course
- The restricted modules list appears in the course settings and is enabled but no modules are selected. The requested ones (in the admin page) should be selected.
I confirmed this in 2.2.3+ (Build: 20120519) and in the latest 2.0 branch. Not tried in 2.1 or master