Export to GitHub

mollify - issue #582

Empty folder download issue on checkbox


Posted on Dec 22, 2014 by Happy Bird

What steps will reproduce the problem? 1. Select check box ( near be file refresh button ) 2. select one or more empty folder for download 3. It shows unable download

What is the expected output? What do you see instead? zip file contains Empty folders - one or more selected itms

What version of the product are you using? On what operating system? 2.0-2_2

Error Code :

{"code":999,"error":"Unexpected server error","details":"PHP error #2, fopen(\/tmp\/Mollify5497c712cd4514.09964966zip): failed to open stream: No such file or directory (\/var\/www\/backend\/plugin\/Archiver\/ArchiverServices.class.php:40)","data":null}

Comment #1

Posted on Dec 22, 2014 by Happy Bird

For your information : My selection has all empty folders

Comment #2

Posted on Dec 29, 2014 by Swift Dog

This issue is because zip archive does not generate file if there is nothing added. I've added support for empty folders for the ZipArchive compressor, options "raw" and "native" don't yet have this as I'm not sure how to do it with them.

Comment #3

Posted on Dec 29, 2014 by Swift Dog

Fixed in 2.5.19

Status: Fixed

Labels:
Type-Defect Priority-Medium