You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2021/02/25 07:56:33 UTC
[syncope] branch 2_0_X updated: Avoid throwing exception and use
default values if provided when Localizer resources are not found
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_0_X by this push:
new e3edd9c Avoid throwing exception and use default values if provided when Localizer resources are not found
e3edd9c is described below
commit e3edd9c80b2d68431d2feb7056a18031a5ab04a7
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Feb 25 08:55:11 2021 +0100
Avoid throwing exception and use default values if provided when Localizer resources are not found
---
.../org/apache/syncope/client/console/SyncopeConsoleApplication.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
index 2f6ba98..6630fa8 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
@@ -194,7 +194,8 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication {
getResourceSettings().setUseMinifiedResources(true);
- getResourceSettings().setThrowExceptionOnMissingResource(true);
+ getResourceSettings().setUseDefaultOnMissingResource(false);
+ getResourceSettings().setThrowExceptionOnMissingResource(false);
getJavaScriptLibrarySettings().setJQueryReference(new DynamicJQueryResourceReference());