commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-269) warn if object validated is not the object inspected
Date Wed, 16 Jul 2008 10:09:31 GMT
warn if object validated is not the object inspected
----------------------------------------------------

                 Key: VALIDATOR-269
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-269
             Project: Commons Validator
          Issue Type: Improvement
    Affects Versions: 1.3.1 Release
            Reporter: Ralf Hauser


some help could come from BEANUTILS-323 , but it would be better to proactively
issue a warning by saying what form class was expected and what validatorForm subclass was
found

ERROR [http-www.privasphere.com%2F212.25.12.194-8443-Processor10] (ValidatorUtils.java:112)
- Unknown property 'xyz'
java.lang.NoSuchMethodException: Unknown property 'xyz'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at org.apache.commons.validator.util.ValidatorUtils.getValueAsString(ValidatorUtils.java:102)
at org.apache.struts.validator.FieldChecks.evaluateBean(FieldChecks.java:336)
at org.apache.struts.validator.FieldChecks.validateMinLength(FieldChecks.java:1156)
at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:544)
at org.apache.commons.validator.Field.validateForRule(Field.java:796)
at org.apache.commons.validator.Field.validate(Field.java:876)
at org.apache.commons.validator.Form.validate(Form.java:288)
at org.apache.commons.validator.Validator.validate(Validator.java:351)
at org.apache.struts.validator.ValidatorForm.validate(ValidatorForm.java:116)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message