[ http://issues.apache.org/jira/browse/OFBIZ-466?page=all ]

Jacopo Cappellato closed OFBIZ-466.
-----------------------------------

    Resolution: Fixed

Ray, all,

I've committed Ray's last patch (thanks Ray!) with rev 478784 and the following 
comment:

"From now on, it should be considered a good practice to wrap each fo.ftl 
template inside the tags:
<#escape x as x?xml>
...
</#escape>
"



> 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
>         Assigned To: Jacopo Cappellato
>         Attachments: fo_ftl_escape.patch, 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

        

Reply via email to