
| Key: |
STS-296
|
| Type: |
Improvement
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Tim Fennell
|
| Reporter: |
Tim Fennell
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
|
|