Commits

Anonymous committed ac5728d

added debug statement to print expression and object validation is run on when validation failed for easing debugging

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@610e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/validator/validators/ExpressionValidator.java

         }
 
         if (!answer.booleanValue()) {
+        	log.debug("validation failed on expression "+expression+" with validated object "+object);
             addActionError(object);
         }
     }