-
Bug
-
Resolution: Fixed
-
Major
-
2.2, 2.3.2
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-32639-master -
There are several problems with 'Download dir' button in filemanager form element that I found:
1) If there are files in filemanager but there are no files in the current folder, the button is still displayed.
This happens because the obj.filescount contains total count of files and not count of files in the current subfolder. Since this variable is also used in dndupload, we need to introduce another counter
2) After downloading folder on the second level, filemanager jumps to the root level. When trying to download folder on the third level, error is thrown.
There is probably error in repository/draffiles_ajax.php
3) In the downloaded zip archive the empty folders are skipped and the extra root folder with name "0" is created
The same happens if I select 'Zip' in folder context menu in filemanager
- Discovered while testing
-
MDL-37429 rework file zipper debugging change from MDL-37429
-
- Closed
-
- has a clone
-
MDL-36122 Reraising - Filemanager download button problems
-
- Closed
-
- has been marked as being related by
-
MDL-33846 Filemanager "download all" doesn't download anything if hierarchical folder is selected
-
- Closed
-
-
MDL-36708 file_is_draft_area_limit_reached should not consider references
-
- Closed
-
-
MDL-37123 Zipping folder in File Manager should send warning when some references were not included
-
- Closed
-
- is duplicated by
-
MDL-33759 'Download all' button in Filemanager should not reset the view
-
- Closed
-
- will help resolve
-
MDL-29203 Filepicker renames top folder name to "0" when you zip files
-
- Closed
-
-
MDL-33296 Remove the base directory '0' when downloading all as a zip.
-
- Closed
-