[ http://issues.apache.org/jira/browse/OFBIZ-466?page=comments#action_12450135 ] Ray Barlow commented on OFBIZ-466: ----------------------------------
>From what I can see that is already in place: >framework/common/webcommon/includes/reportTemplate.fo.ftl Unfortunately it's not working in this example of the order view pdf. Just tested it again on https://demo.dejc.com:8443/ordermgr/control/orderview?orderId=WS10001 and that is now failing to render the pdf because of the comment in the notes field containing &. Make the note private and the pdf renders as the note is not shown. Personally I like the "<#escape x as x?xml>" idea but it's not working so I'd suggest all the ?xml tags are an improvement over the current crash of the pdf generation for the time being. > PDF view of order crashes depending on customer data such as notes and > address lines. > ------------------------------------------------------------------------------------- > > Key: OFBIZ-466 > URL: http://issues.apache.org/jira/browse/OFBIZ-466 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: N/A > Reporter: Ray Barlow > Attachments: order_pdf.patch > > > This patch adds a few more ?xml attributes to the pdf views for orders to > stop crashes when trying to view an order that has xml unfriendly characters > i.e. view the pdf of an order with a customer facing note saying "Merry > Christmas & Happy New Year" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
