You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thomas Heigl (JIRA)" <ji...@apache.org> on 2018/11/28 17:47:00 UTC

[jira] [Created] (WICKET-6616) Stateless pages are not rendered anymore before executing a behavior

Thomas Heigl created WICKET-6616:
------------------------------------

             Summary: Stateless pages are not rendered anymore before executing a behavior
                 Key: WICKET-6616
                 URL: https://issues.apache.org/jira/browse/WICKET-6616
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 8.2.0
            Reporter: Thomas Heigl


I just upgraded from 8.1.0 to 8.2.0 and a bunch of my tests broke. A required form component on a stateless page that is hidden in "onConfigure" started to report an error after the upgrade.

The problem was introduced in WICKET-6608 by this commit:

[https://github.com/apache/wicket/commit/147f6d33f839edd9a6eb53ce9c20b4cde07fc938]

Previously, the page was initialized *and* rendered before returning the component. Now, for some reason, the page is initialized and the component returned immediately if it exists. This breaks all visibility/enabled conditions that are evaluated later in the life cycle of stateless components.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)