Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.6.5, 3.5.3, 3.6, 3.7
-
MOODLE_26_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-47247-master -
Description
If Show subfolders expanded is set to 'No' at site level, when a folder is created by dragging a zip file on to a course page, the folder is created with showexpanded = 1.
1. Turn off show subfolders expanded in Site Administration.
2. Zip up a folder containing subfolders, with the subfolders containing files.
3. Go to a course page and turn editing on.
4. Drag the zipped folder on to the course page and select "Unzip files and create folder".
5. The newly created folder has showexpanded set to 1.
When a new folder is created using the file picker, it works correctly.