[
https://issues.apache.org/jira/browse/WICKET-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599993#comment-13599993
]
Martin Grigorov commented on WICKET-5083:
-----------------------------------------
Once 6.8.0-SNAPSHOT is available I'll re-apply
beee594d98f82d1bf8b59c3c69dbe33eb1743091 +
--- i/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java
+++ w/wicket-core/src/main/java/org/apache/wicket/page/AbstractPageManager.java
@@ -127,10 +127,6 @@ public abstract class AbstractPageManager implements
IPageManager
@Override
public void touchPage(IManageablePage page)
{
- if (!page.isPageStateless())
- {
- getContext().bind();
- }
getRequestAdapter().touch(page);
and test it more extensively before 6.8.0
> Page#isPageStateless() may return wrong value
> ---------------------------------------------
>
> Key: WICKET-5083
> URL: https://issues.apache.org/jira/browse/WICKET-5083
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.6.0
> Reporter: Christoph Leiter
> Assignee: Martin Grigorov
> Fix For: 6.7.0
>
>
> This ticket is a follow up to WICKET-5078 (WICKET-4763 also seems related).
> Page#isPageStateless() can be invoked at a time where onInitialize() hasn't
> been called yet. This causes pages to report that they are not stateful, even
> though they are, if the stateful components are added in onInitialize() and
> not in the constructor.
--
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