[ https://issues.apache.org/jira/browse/OFBIZ-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum closed OFBIZ-5140. ------------------------------ Resolution: Fixed Fix Version/s: SVN trunk Fixed, rev 1449429. Thanks Christoph! > 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 > Fix For: SVN trunk > > > 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