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 2013/09/19 09:48:17 UTC

svn commit: r1524643 - /syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java

Author: ilgrosso
Date: Thu Sep 19 07:48:17 2013
New Revision: 1524643

URL: http://svn.apache.org/r1524643
Log:
[SYNCOPE-415] Applying provided patch

Modified:
    syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java

Modified: syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java
URL: http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java?rev=1524643&r1=1524642&r2=1524643&view=diff
==============================================================================
--- syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java (original)
+++ syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/EntityValidationInterceptor.java Thu Sep 19 07:48:17 2013
@@ -58,7 +58,7 @@ public class EntityValidationInterceptor
 
         Set<ConstraintViolation<Object>> violations = validator.validate(pjp.getArgs()[0]);
         if (!violations.isEmpty()) {
-            LOG.error("Bean validation errors found: {}", violations);
+            LOG.warn("Bean validation errors found: {}", violations);
             throw new InvalidEntityException(pjp.getArgs()[0].getClass().getSimpleName(), violations);
         }