RequestCycleListenerCollection.onException should not throw an exception when
multiple listeners handle the exception
---------------------------------------------------------------------------------------------------------------------
Key: WICKET-3644
URL: https://issues.apache.org/jira/browse/WICKET-3644
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 1.5-RC3
Reporter: Emond Papegaaij
When multiple listeners handle the exception, RequestCycleListenerCollection
should simple take the first handler. The current approach makes it impossible
to add a listener that handles all exceptions and later add listeners for
specific exceptions. Simply removing the 'if (handlers.size() > 1)' should
suffice.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira