Peter Parson created WICKET-4982: ------------------------------------ Summary: StatelessChecker: add helpful information to find stateful behavior (patch included) Key: WICKET-4982 URL: https://issues.apache.org/jira/browse/WICKET-4982 Project: Wicket Issue Type: Improvement Components: wicket-devutils Affects Versions: 6.4.0 Reporter: Peter Parson
When the stateless check fails, one has to search for the offending (stateful) behavior manually, which can be tedious in complex components (containing multiple behaviors, maybe even spread across classes through inheritance) Attached patch adds to the exception message the class name(s) of stateful Behaviors(s), if any. Note: I did not test the code, since my project is not running on the wicket sources. Should be working fine, though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira