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

[jira] [Resolved] (WICKET-5083) Page#isPageStateless() may return wrong value

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

Martin Grigorov resolved WICKET-5083.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.7.0

>From now on the page (and all components inside) will be initialized if they are not already.
The initialization will happen as late as possible. I.e. after the light checks - isBookmarkable and stateless hint.
                
> 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