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:16:21 UTC

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

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

Sven Meier resolved WICKET-6235.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5.0
                   6.25.0
                   8.0.0-M2

Items in the table body are visited only now.

> 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: 8.0.0-M1, 7.4.0, 6.24.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>             Fix For: 8.0.0-M2, 6.25.0, 7.5.0
>
>
> 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)