ListenerInterfaceRequestHandler fails with an exception if a new page is 
created and the component does not exist on that page
------------------------------------------------------------------------------------------------------------------------------

                 Key: WICKET-4197
                 URL: https://issues.apache.org/jira/browse/WICKET-4197
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.2
            Reporter: Emond Papegaaij
         Attachments: quickstart.tar.bz2

ListenerInterfaceRequestHandler.response looks up the component on the page, 
but does not handle ComponentNotFoundException thrown by 
PageAndComponentProvider when the component does not exist. A situation where 
this might occur, is that the page instance is fresh and the component is added 
in onBeforeRender.

The attached quickstart demonstrates the problem. Copy the URL of the link at 
the bottom, paste it in the location bar and change the page id, simulating an 
expired page (ie session timeout). This will give a ComponentNotFoundException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to