Permalink
Browse files

Fixed a bug in one of my recent commits:

  • Loading branch information...
1 parent ddc7b6d commit 718659d107781a7508b9afe9647eec72d4cfe44c @adrian-crum adrian-crum committed Feb 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/webapp/src/org/ofbiz/webapp/view/ApacheFopWorker.java
@@ -85,7 +85,7 @@ public static FopFactory getFactoryInstance() {
} else {
Debug.logWarning("FOP configuration file not found: " + userConfigFile, module);
}
- 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/");
File fontBaseFile = FileUtil.getFile(fopFontBaseProperty);
if (fontBaseFile.isDirectory()) {
fopFactory.getFontManager().setFontBaseURL(fontBaseFile.toURI().toURL().toString());
@@ -94,7 +94,7 @@ public static FopFactory getFactoryInstance() {
}
Debug.logInfo("FOP FontBaseURL: " + fopFactory.getFontManager().getFontBaseURL(), module);
} catch (Exception e) {
- Debug.logWarning(e, "Error reading FOP configuration", module);
+ Debug.logWarning(e, "Error reading FOP configuration: ", module);
}
}
}

0 comments on commit 718659d

Please sign in to comment.