Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Brad WoodBrad WoodPriority
NewLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Brad Wood
Brad WoodPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 25 October 2018 at 22:09
Updated 8 May 2020 at 18:46
Resolved 7 March 2019 at 14:06
This is possibly related to:
https://luceeserver.atlassian.net/browse/LDEV-941
When unzipping a zip file into an existing directory and attempting to overwrite existing files with the overwrite flag, the files are not overwritten. This has broken the upgrade command in CommandBox.
I have attached a zip file that has a small test case. The test case uses a CommandBox Task Runner. Unzip the folder and run box task run to execute the task runner. I'm sure this can easily be reworked into a normal test case. The task runner was just quick and easy to test it from the command line.
Run the task which unzips the myZip.zip archive into the target folder. Then modify the myFile.txt which was created in the target folder. Your changes will not be overwritten as they should be.