tracker issue : CF-4101628

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

Unable to download file when default document is not used

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Jason Henley / Jason Henley (Jason Henley)

Created: 12/18/2015

Components: General Server

Versions: 11.0

Failure Type: Data Corruption

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:  Corrupted documents are being created when the default document is not being used for the request.

Steps to Reproduce:

Create *.CFM file 1 /pdf-test.cfm in the root directory with the following contents:

<a href="/pdf/index.cfm?get=true">Test 1</a><br>
<a href="/pdf/?get=true">Test 2</a>

Create *.CFM file 2 /pdf/index.cfm with the following contents:
<cfheader name="Content-disposition" value="attachment;filename=test.pdf">
<cfdocument format="PDF">

1. Open /pdf-test.cfm in any browser.
2. Click on "Test 1" link, PDF is generated and downloaded without error.
3. Click on "Test 2" link, PDF is generated and downloaded, but the file is corrupt.

Actual Result:  File generated is corrupt.

Expected Result: Valid file

Any Workarounds: Use default document for request, i.e. index.cfm

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4101628

External Customer Info:
External Company:  
External Customer Name: Jason Henley
External Customer Email:  
External Test Config: My Hardware and Environment details:

ColdFusion 11 Update 7

Windows 7 Professional & Windows Server 2008 R2 Standard



This has been reported as fixed in CF-3760466, however, this issue is not fixed. Please use the test code provided to reproduce. Thanks.
Comment by External U.
5030 | December 18, 2015 11:00:57 AM GMT
Also, I have URL Rewrite installed on IIS. I can't be certain if it's related to having URL Rewrite installed since I don't have any environments without it.
Comment by External U.
5031 | December 18, 2015 11:14:25 AM GMT
Jason, I do not see the issue you mention, and can confirm CF-3760466 is fixed. Can you give more details on your platform / environment? Also, is your ColdFusion 11 patched with the latest hotfix.
Comment by Immanuel N.
5032 | December 21, 2015 01:09:00 PM GMT
Jason, this bug was fixed in ColdFusion 11 HotFix 3. Please confirm if you still see this issue with the latest hotfix.
Comment by Immanuel N.
5033 | January 04, 2016 04:39:08 AM GMT
Hi Immanuel, Just FYI, he put "ColdFusion 11 Update 7" in the "Test Configuration" portion of this ticket. I also verified the issue was fixed in CF11u3, but unsure if I've tested it since for possible regression. Thanks!, -Aaron
Comment by External U.
5034 | January 05, 2016 04:38:26 AM GMT
Thanks for pointing that out, Aaron. However, I tried different variations and do not see the issue persisting on HF 7. Tested on IIS 7.5 and IIS 8.5. Will be closing the bug as Cannot Reproduce, and will reopen the bug if the user comes back with a repro case.
Comment by Immanuel N.
5035 | January 07, 2016 02:45:12 AM GMT
Hi Immanuel, You're very welcome. Since CF-4070239 says CF-3853535 wasn't fixed, perhaps there is still an issue we aren't seeing. I haven't tested CF-3760466 or CF-3853535 on IIS 7.5 b/c I do not have any Win7 or Win2008R2 currently setup for testing. But I plan to setup a Win7 sometime. Whenever I do that, I could try testing these tickets again. Thanks!, -Aaron
Comment by External U.
5036 | January 08, 2016 04:45:30 AM GMT