Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1278

Unexpected callbacks of AbstractTreeModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.5.2
    • Component/s: Components
    • Labels:
      None

      Description

      The callbacks isLeaf(), getChildCount(), getChild() are called after opening some nodes for non opened TreeItems.

      Example (s attachment):
      1. Open 'Sophis e' --> callbacks are ok
      2. Open Bond (child of 'Sophis e') --> callbacks for parent 'Sophis e' (maybe an error), callbacks for parent 'Bond' (ok), callbacks for parent 'Calypso' and its subtrees (is an error), callbacks for all other parents (is an error)

      The problem gets attention when the tree renders large data amounts.

        Attachments

        1. Logs.txt
          232 kB
        2. SimpleTreeTestModel.java
          1 kB
        3. Tree-Example.PNG
          Tree-Example.PNG
          8 kB

          Issue Links

            Activity

              People

              Assignee:
              jumperchen jumperchen
              Reporter:
              hshdev hshdev
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: