Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6235

TableTree#updateNode() fails if no corresponding node is visible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0-M1, 7.4.0, 6.24.0
    • 8.0.0-M2, 6.25.0, 7.5.0
    • wicket-extensions
    • None

    Description

      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).

      Attachments

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: