Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Rich Wild / Rich Wild (Rich Wild)
Created: 04/13/2015
Components: File Management, CFZip
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / CF2016
Priority/Frequency: Normal / Unknown
Locale/System: ALL / Win 2008 Server x64
Vote Count: 3
Problem Description: In CF9, when a different filename to the source filename was used in the "entryPath" attribute for cfzipparam, cfzip would rename that file in the resulting zip file. CF11 appears to ignore new filenames requested in the "entryPath" attribute.
Steps to Reproduce:
<cfzip action="zip" file="#expandpath('./testzip.zip')#">
<cfzipparam entrypath="a-different-name.txt" source="#expandpath('./filename.txt')#" />
</cfzip>
Actual Result:
Zip file contains a file named with the original filename of the source file. "Filename.txt". This is counter to the behaviour presented in CF9.
Expected Result:
Zip file should contain a file named 'a-different-name.txt'
Any Workarounds:
Not known.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3968971
External Customer Info:
External Company:
External Customer Name: Rich
External Customer Email:
External Test Config: CF11
Server Product - ColdFusion
Version - 11,0,04,293328
Tomcat Version - 7.0.54.0
Edition - Standard
Operating System - Windows Server 2012
OS Version - 6.2
Update Level - C:/ColdFusion11/cfusion/lib/updates/chf11000004.jar
Adobe Driver Version - 5.1.3 (Build 000094)
JVM Details
Java Version - 1.7.0_55
Attachments:
- April 13, 2015 00:00:00: 1_test_cfzip.cfm
Comments: