You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christoph Leiter (JIRA)" <ji...@apache.org> on 2013/03/06 13:02:12 UTC

[jira] [Created] (WICKET-5078) RestartResponseException broken with page instance and bookmarkable page

Christoph Leiter created WICKET-5078:
----------------------------------------

             Summary: RestartResponseException broken with page instance and bookmarkable page
                 Key: WICKET-5078
                 URL: https://issues.apache.org/jira/browse/WICKET-5078
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.6.0
            Reporter: Christoph Leiter


If I do throw new RestartResponseException(new OtherPage("redirected!")); on OtherPage itself and OtherPage is mounted then a completely new page is constructed and displayed instead of the instance I created.

Does not happen if the page isn't mounted or the current page is not OtherPage. If I hide the default constructor it also doesn't happen.

I'll attach a quickstart which demonstrates the problem.

--
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