Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Philipp Cielen / ()
Created: 07/24/2018
Components: Document Management, PDF Generation (CFHTML2PDF)
Versions: 2018
Failure Type: Crash
Found In Build/Fixed In Build: CF 2018 / 312790
Priority/Frequency: Normal / All users will encounter
Locale/System: German / Windows 10 64 bit
Vote Count: 0
This one was quite tricky to break down and isolate. cfhtmltopdfitem seems to throw an error as soon as more than three special characters are used anywhere in the code - even in comments!
Try this code:
<cfhtmltopdf>
<cfhtmltopdfitem type="header" >
<cfoutput>
ü
</cfoutput>
</cfhtmltopdfitem>
<html><head><body><cfoutput>test ä</cfoutput></body></head></html>
<!--- öä --->
</cfhtmltopdf>
it will throw an error "Error in handling header footer related attributes."
As soon as at least one of the four German special characters (öäü) on the page is removed, the error will no longer occur.
Found in the release version of CF 2018
Attachments:
Comments: