[jira] [Assigned] (OFBIZ-5140) Exceptions when rendering pdfs due to bad filename prefix in ApacheFopWorker

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (OFBIZ-5140) Exceptions when rendering pdfs due to bad filename prefix in ApacheFopWorker

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum reassigned OFBIZ-5140:
----------------------------------

    Assignee: Adrian Crum
   

> Exceptions when rendering pdfs due to bad filename prefix in ApacheFopWorker
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-5140
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5140
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Christoph Neuroth
>            Assignee: Adrian Crum
>
> Caused by commit r1446940: The default value for the fop.font.base.url uses a file:/// prefix. After calling fontBaseFile.toURI, the whole path is duplicated. The following one-line patch fixes this:
> {code}
> -                    String fopFontBaseProperty = UtilProperties.getPropertyValue("fop.properties", "fop.font.base.url", "file:///" + ofbizHome + "/framework/webapp/config/");
> +                    String fopFontBaseProperty = UtilProperties.getPropertyValue("fop.properties", "fop.font.base.url", ofbizHome + "/framework/webapp/config/");
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira