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

Unexpected callbacks of AbstractTreeModel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 6.5.2
    • 6.0.0
    • Components
    • None

      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.

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

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

              Created:
              Updated:
              Resolved: