[ https://issues.apache.org/struts/browse/STR-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39778 ]
john book commented on STR-2236: -------------------------------- http://urlcut.com/1ckhb http://urlcut.com/1ckhc http://urlcut.com/1ckhd http://urlcut.com/1ckhe http://urlcut.com/1ckhf http://urlcut.com/1ckhg http://urlcut.com/1ckhh http://urlcut.com/1ckhi http://urlcut.com/1ckhj http://urlcut.com/1ckhk http://urlcut.com/1ckhl http://urlcut.com/1ckhm http://urlcut.com/1ckhn http://urlcut.com/1ckho http://urlcut.com/1ckhp http://urlcut.com/1ckhq http://urlcut.com/1ckhr http://urlcut.com/1ckhs http://urlcut.com/1ckht http://urlcut.com/1ckhu http://urlcut.com/1ckhv http://urlcut.com/1ckhw http://urlcut.com/1ckhx http://urlcut.com/1ckhy http://urlcut.com/1ckhz http://urlcut.com/1ckia http://urlcut.com/1ckib http://urlcut.com/1ckic http://urlcut.com/1ckid http://urlcut.com/1ckie http://urlcut.com/1ckif http://urlcut.com/1ckig http://urlcut.com/1ckih http://urlcut.com/1ckii http://urlcut.com/1ckij http://urlcut.com/1ckik http://urlcut.com/1ckil http://urlcut.com/1ckim http://urlcut.com/1ckin http://urlcut.com/1ckio http://urlcut.com/1ckip http://urlcut.com/1ckiq http://urlcut.com/1ckir http://urlcut.com/1ckis http://urlcut.com/1ckit http://urlcut.com/1ckiu http://urlcut.com/1ckiv http://urlcut.com/1ckiw http://urlcut.com/1ckix http://urlcut.com/1ckiy http://urlcut.com/1ckiz http://urlcut.com/1ckja http://urlcut.com/1ckjb http://urlcut.com/1ckjc http://urlcut.com/1ckjd http://urlcut.com/1ckje http://urlcut.com/1ckjf http://urlcut.com/1ckjg http://urlcut.com/1ckjh http://urlcut.com/1ckji http://urlcut.com/1ckjj http://urlcut.com/1ckjk http://urlcut.com/1ckjl http://urlcut.com/1ckjm http://urlcut.com/1ckjn http://urlcut.com/1ckjo http://urlcut.com/1ckjp http://urlcut.com/1ckjq http://urlcut.com/1ckjr http://urlcut.com/1ckjs http://urlcut.com/1ckjt http://urlcut.com/1ckju http://urlcut.com/1ckjv http://urlcut.com/1ckjw http://urlcut.com/1ckjx http://urlcut.com/1ckjy http://urlcut.com/1ckjz > [validator] report how many fields have been checked - i.e. make > ValidatorForm.validate() fail-safe! > ---------------------------------------------------------------------------------------------------- > > Key: STR-2236 > URL: https://issues.apache.org/struts/browse/STR-2236 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: 1.2.4 > Environment: Operating System: other > Platform: Other > Reporter: Ralf Hauser > Assigned To: Struts Developers > Priority: Minor > > as per as per Bug 31618, there seems to be a problem with looking up forms > during > validation. > Anyway, as long as commons validator doesn't throw a ValidatorException, the > application programmer gets the exactly same result for the case when the form > has been properly validated and no errors have been found and the opposite > case > where due to a configuration error (or programming error in the underlying > jars) > no validation has been executed whatsoever. > Testing for the number of fields validated as per the suggestion in the above > referenced bug is one idea, probably there are other (better ways) to > engineer this. > in order not to have to change the interface, at least a > log.debug(validatorResults.numbOfFieldsValidated + " fields have been > validated > in form "+ super.getClass().getName()); > in the ValidatorForm.validate() would be highly useful!, there seems to be a > problem with looking up forms during > validation. > Anyway, as long as commons validator doesn't throw a ValidatorException, the > application programmer gets the exactly same result for the case when the form > has been properly validated and no errors have been found and the opposite > case > where due to a configuration error (or programming error in the underlying > jars) > no validation has been executed whatsoever. > Testing for the number of fields validated as per the suggestion in the above > referenced bug is one idea, probably there are other (better ways) to > engineer this. > in order not to have to change the interface, at least a > log.debug(validatorResults.numbOfFieldsValidated + " fields have been > validated > in form "+ super.getClass().getName()); > in the ValidatorForm.validate() would be highly useful! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira