[ACE-4030] Download as Zip action upon custom folder type Created: 29-Jun-15 Updated: 16-Oct-15
|Project:||Alfresco One Platform|
|Component/s:||Document Library, Rules and Actions|
|Affects Version/s:||5.0.c Community, 5.0|
|Reporter:||Pavel (Inactive)||Assignee:||Investigation Queue (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
In out project we have a custom folder type, which is a child of cm:folder:
The problem is that when I press Download as Zip button for selected folder(s) I get empty zip file. It comes from startNode method of ZipDownloadExporter.java:
Since custom folder has type ef:folder this check returns false:
and folder is not added to the zip.
|Comment by Pavel (Inactive) [ 29-Jun-15 ]|
The workaround is to check if a custom folder type is a child of cm:content using dictionaryService:
But it includes many code manipulations and not very convenient.
The workaround is suggested here: http://stackoverflow.com/a/30937163/1252056
|Comment by Kevin Roast [X] (Inactive) [ 29-Jun-15 ]|
Pavel, I can confirm this is a bug thanks for reporting.