tracker issue : CF-3858416

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

Error occurred while generating PDF using cfhtmltopdf

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Anit Kumar Panda)

Created: 11/26/2014

Components: Document Management, PDF Generation (CFHTML2PDF)

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 11,0,01,291346 / CF11 Update5

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Mac 10 All,Win XP All

Vote Count: 0

Problem: cfhtmltopdf fails to generate pdf, when source has "http" protocol in url.

Method: Access the below code in ColdFusion 11
<cfhtmltopdf source="http://www.google.com/" /> 

Result: coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF.

Expected: It should generate pdf irrespective of the protocol used, whether "http" or "https".

Workaround: Use https instead of http. For e.g. <cfhtmltopdf source="https://www.google.com/" /> and it works.

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

Watson Bug ID:	3858416

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

It is working now and I have verified it on build #293112
Comment by Nimit S.
9940 | January 27, 2015 09:10:51 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
9941 | February 20, 2015 09:24:40 AM GMT
Unable to test this fix in CF11 Update 5 b/c CF-4031773 (Update 5 broke PDFg). Thanks!, -Aaron
Comment by External U.
9942 | September 05, 2015 03:30:38 AM GMT