Christoph Neuroth created OFBIZ-5140:
----------------------------------------

             Summary: 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


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:

{{{
-                    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/");
}}}

--
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

Reply via email to