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 2013/03/06 22:32:13 UTC
[jira] [Resolved] (WICKET-5078) RestartResponseException broken
with page instance and bookmarkable page
[ https://issues.apache.org/jira/browse/WICKET-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-5078.
--------------------------------
Resolution: Invalid
Assignee: Sven Meier
OtherPage is stateless and mounted, thus Wicket assumes that it can safely be recreated as needed.
> 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
> Assignee: Sven Meier
> Attachments: WICKET-5078-quickstart.zip
>
>
> 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