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 2016/08/31 16:03:20 UTC

[jira] [Created] (WICKET-6235) TableTree#updateNode() fails if no corresponding node is visible

Sven Meier created WICKET-6235:
----------------------------------

             Summary: TableTree#updateNode() fails if no corresponding node is visible
                 Key: WICKET-6235
                 URL: https://issues.apache.org/jira/browse/WICKET-6235
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 6.24.0, 7.4.0, 8.0.0-M1
            Reporter: Sven Meier
            Assignee: Sven Meier


TableTree#updateNode() tries to locate the corresponding node by visiting all Item children. If this node is not visible currently (e.g. because a parental node is collapsed), the children visitor runs into the table header (which comes after the table body) - causing a ClassCastException when the Item is expected to have a NodeModel, which it doesn't inside the header (or footer).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)