-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4, 3.4.1, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
wip-master-MDL-61158
-
Step-by-step instructions:
- Create a course, name it short name "My first course", let it have at least a section being hidden
- Add some access restriction conditions to another section on the same course.
- go to Site Administration > Courses > Upload Courses and use the following parameters
- Upload mode: Create new courses or update existing ones
- the CSV file should contain a 'templatecourse' field, refering to the existing "My first course" course containing at least one hidden section. You can take the newer test.csv file attached hereunder.
- do not make any changes in the Upload courses preview
- course upload should complete successfully
- check that the section in the newly created course that should be hidden is not
- check that the sections in the newly created course don't have any restriction access.
Expected result:
- the newly created course should have the section marked as hidden and same restriction access as in the template course.
Actual result:
- the newly created course has this section visible
Additional information:
- Creating a copy of the template course using a course backup and a course restore works as expected (hidden section remains hidden in the copy, and restriction access conditions are copied)
- Bug reproduced on demo.moodle.net
- has a non-specific relationship to
-
MDL-63268 Courses copied by uploadcourse do not keep their number of section
-
- Closed
-
- is duplicated by
-
MDL-62966 Hidden topic no longer hidden if the course is copied as a "template" during a CSV course upload
-
- Closed
-
-
MDL-70949 tool_uploadcourse does not restore section restrictions
-
- Closed
-
- will help resolve
-
MDL-62966 Hidden topic no longer hidden if the course is copied as a "template" during a CSV course upload
-
- Closed
-