tracker issue : CF-3968971

select a category, or use search below
(searches all categories and all time range)

cfzip and cfzipparam does not rename file entries when entrypath is used

| View in Tracker

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

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on February 16, 2019 using build 2016.0.01.298513
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('./')#">
			<cfzipparam entrypath="a-different-name.txt" source="#expandpath('./filename.txt')#" />

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   -  

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


  1. April 13, 2015 00:00:00: 1_test_cfzip.cfm


Fix verified in build: 295738 Platform tested on: Win7x64 Test case used: //depot/qa/cf/regression/coretests/coldfusion/tags/file-management/cfzip/zip/bugs/CF-3968971.cfm
Comment by Kailash B.
7897 | September 25, 2015 03:49:08 AM GMT
+1 ......................
Vote by External U.
7899 | September 27, 2015 04:06:02 AM GMT
This bug is marked as fixed in build 295738. However, we are running CF11, Update 7, which is build number 11,0,07,296330, and this behavior still exists. What update should contain the fix for this bug? Was the fix reverted, or was it not yet included? This is now an issue we are facing in our production environment, and the workarounds are not simple to implement.
Comment by External U.
7898 | February 18, 2016 04:30:19 PM GMT
Please inform us as to what release this fix should be included in. It is not present in CF11, u7
Vote by External U.
7900 | February 18, 2016 04:30:46 PM GMT
+1. We are experiencing this bug in CF11 Update 7, Build 296330.
Vote by External U.
7901 | April 26, 2016 12:13:02 PM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
30274 | February 16, 2019 04:09:50 AM GMT