]
Nick Scavelli resolved GTNMGMT-7.
---------------------------------
Fix Version/s: 1.0.0-Alpha02
Resolution: Done
Import gadget fails if zip file contains directory entries
----------------------------------------------------------
Key: GTNMGMT-7
URL:
https://issues.jboss.org/browse/GTNMGMT-7
Project: GateIn Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0-Alpha01
Reporter: Martin Weiler
Assignee: Nick Scavelli
Fix For: 1.0.0-Alpha02
Creating a zip file with the following command creates a zip archive that can't be
imported using the gadget:
[mweiler@martin 00480690]$ zip -r new_portal.zip portal/
adding: portal/ (stored 0%)
adding: portal/test/ (stored 0%)
adding: portal/test/portal.xml (deflated 71%)
adding: portal/test/pages.xml (deflated 95%)
adding: portal/test/navigation.xml (deflated 81%)
The portal/ and portal/test/ directories within the zip archive break the import.
Using zip with -D option works (or, on Windows, using ant task with
onlyfiles="true" attribute):
[mweiler@martin 00480690]$ zip -rD new_portal.zip portal/
adding: portal/test/portal.xml (deflated 71%)
adding: portal/test/pages.xml (deflated 95%)
adding: portal/test/navigation.xml (deflated 81%)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: