Reverted: Changes done at r#1857089 and r#1857090 (OFBIZ-10911)(OFBIZ-10912)

The Cleanups introduced by those revisions has introduced some
unexpected regressions making the Gradle ‘loadAll’ task fail.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mathieu Lirzin
2019-04-07 23:36:29 +00:00
parent fef3988c46
commit a15b7b1996
30 changed files with 247 additions and 153 deletions
@@ -139,6 +139,7 @@ public class NotificationServices {
} else {
// otherwise just report the error
Debug.logError("prepareNotification failed: " + bodyResult.get(ModelService.ERROR_MESSAGE), module);
body = null;
}
}
@@ -139,7 +139,9 @@ public class QRCodeServices {
if (UtilValidate.isEmpty(defaultLogoImage)) {
Debug.logError("Your logo image file(" + qrCodeDefaultLogoImage + ") cannot be read by javax.imageio.ImageIO. Please use png, jpeg formats instead of ico and etc.", module);
}
} catch (IllegalArgumentException | IOException e) {
} catch (IllegalArgumentException e) {
defaultLogoImage = null;
} catch (IOException e) {
defaultLogoImage = null;
}
}