Errors when binding missing values as null should not generate WARN level logs
with stack traces
------------------------------------------------------------------------------------------------
Key: STS-296
URL: http://mc4j.org/jira/browse/STS-296
Project: Stripes
Issue Type: Improvement
Components: Validation
Affects Versions: Release 1.4.1, Release 1.4
Reporter: Tim Fennell
Assigned To: Tim Fennell
Priority: Minor
Fix For: Release 1.4.2
Stripes detects when fields are not submitted and binds then using null values.
However, if the bean does not have a matching property then it logs a message
at WARN level including a full stack trace. Since this can occur in some
normal situations (two action beans on one page being the standard example)
this is excessive.
Instead of logging the exception directly the built in
handlePropertyBindingError() hook method should be called, which by default
logs a message (with no stack trace) at DEBUG.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development