You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2016/04/24 20:43:12 UTC

[jira] [Resolved] (WICKET-6129) IRequestCycleListener not notified of all executed handlers

     [ https://issues.apache.org/jira/browse/WICKET-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6129.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 8.0.0-M1

RequestCycleListeners are now notified as you'd expect it, i.e. in difference to Wicket 7.x:
- #onRequestHandlerResolved() is called before *all* handlers to be executed
- #onRequestHandlerExecuted() is called after *all* successful handlers (and only those)
- #onExceptionRequestHandlerResolved() is called for *all* exception handlers, even those resulting from a previous exception retry.

> IRequestCycleListener not notified of all executed handlers
> -----------------------------------------------------------
>
>                 Key: WICKET-6129
>                 URL: https://issues.apache.org/jira/browse/WICKET-6129
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M1
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 8.0.0-M1
>
>
> IRequestCycleListener#onRequestHandlerExecuted() is not called for all request handlers:
> - RenderPageRequestHandler, when it is scheduled by ListenerInterfaceRequestHandler
> - any handler replacing a handler via a RestartResponseException (the original handler is reported as being executed instead)
> RequestHandlerStack#execute(IRequestHandler) recursively calls itself for any scheduled or replacement handler, bypassing notification of any listeners in the requestCycle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)