]
Eric Wittmann updated SRAMP-393:
--------------------------------
Git Pull Request:
S-RAMP Archive Util fails for out-of-order zip files
----------------------------------------------------
Key: SRAMP-393
URL:
https://issues.jboss.org/browse/SRAMP-393
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 0.4.0 - Tomcat Support
Reporter: Eric Wittmann
Assignee: Eric Wittmann
Fix For: 0.5.0.Final
Bug in this line of code:
https://github.com/Governance/s-ramp/blob/master/s-ramp-atom/src/main/jav...
If the zip file entries are out of order, that line could fail because the folder was
already created. Simple fix is to check for the existence of that folder first before
trying to create it.
Also, we probably need to do a mkdirs() on it, since it might occur before its parent
directory entry.