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
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: