History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STS-296
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Fennell
Reporter: Tim Fennell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stripes

Errors when binding missing values as null should not generate WARN level logs with stack traces

Created: 27/Oct/06 05:43 PM   Updated: 28/Oct/06 07:24 AM
Component/s: Validation
Affects Version/s: Release 1.4 , Release 1.4.1
Fix Version/s: Release 1.4.2


 Description  « Hide
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.

 All   Comments   Change History      Sort Order:
Tim Fennell [28/Oct/06 07:24 AM]
This now calls handlePropertyBindingError