tracker issue : CF-3821299

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

Proxy Attributes on CFDocument Tag are ignored...

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jim Johnson / Jim Johnson (Kurt)

Created: 09/09/2014

Components: Document Management

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / CF11 Update5,CF10 Update16

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem Description:
When I supply the proxyHost and proxyPort attributes on my cfdocument tag and convert HTML to PDF, the proxy server I specify is NOT used to look up any resources such as (but NOT limited to) images.

Steps to Reproduce:
Install and Fire up Fiddler (or some other proxy) and have it listen on Localhost on port 8888

Then drop the following code in a CFM and run it:

<cfsavecontent variable="htmlContent">
<html>
<head>
</head>
<body>

<img src="http://wwwimages.adobe.com/content/dam/Adobe/images/shared/product-totems/80x80/totem-coldfusion-11-80x80.png.adimg.mw.80.png">

<p>
Test, some CF logo....
</p>

<img src="http://wwwimages.adobe.com/content/dam/Adobe/images/shared/product-totems/80x80/totem-coldfusion-builder-3-80x80.png.adimg.mw.80.png">

<p>
Another CF logo
</p>


<img src="http://wwwimages.adobe.com/content/dam/Adobe/en/products/coldfusion/images/cf11-enterprise/low%20cost_207x116px.jpg.adimg.mw.207.png">

<p>
Yep, another CF graphic
</p>


</body>
</html>	
	
	</cfsavecontent>
				
				<cfdocument
					format="pdf" 
					filename="c:\temp\my.pdf"
					overwrite="true"
					proxyUser="user"
					proxyPassword="password"
					proxyHost="localhost"
					proxyPort="8888"
				><cfoutput>#trim(htmlContent)#</cfoutput></cfdocument>
done <cfoutput>#now()#</cfoutput>
<cfabort>

Actual Result:
The PDF creates just fine, but you'll notice there are NO LOGS in FIDDLER for the image URLs in the PDF

Expected Result:
There should be 3 requests in Fiddler (or whatever proxy you installed) for each of the images that CFDocument needed to retrieve.


Any Workarounds:
I wish!!!!  This is really putting me in a tough situation. I was so happy to see these attributes, but then to not have them work has been a serious let down!

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

Watson Bug ID:	3821299

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





Windows 7 64bit, we deploy on 2012 64bit and 2012 R2 64bit



Server Product 	ColdFusion

Version 	ColdFusion 10,283649

Edition 	Enterprise  

Operating System 	Windows 7  

OS Version 	6.1  

Update Level 	/C:/ColdFusion10/cfusion/lib/updates/chf10000007.jar  

Adobe Driver Version 	4.1 (Build 0001)   



AMD Chipset

Attachments:

Comments:

@amit You have not mentioned if you had tested with 10 or 11. Is it working in latest build ?
Comment by Uday O.
10952 | November 21, 2014 02:31:42 AM GMT
Fix for this will be available in upcoming update. (Comment added from ex-user id:amkum)
Comment by Adobe D.
10953 | December 17, 2014 02:03:10 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5 and ColdFusion 10 Update 16
Comment by CFwatson U.
10954 | February 20, 2015 09:24:29 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks!, -Aaron
Comment by External U.
10955 | September 04, 2015 11:38:34 PM GMT
Note: <cfhtmltopdf> is missing the proxyUser/proxyPassword/proxyHost/proxyPort attributes.
Comment by External U.
10956 | September 04, 2015 11:45:57 PM GMT