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

faulty tree update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Java, windows 7

      Description

      When calling method fireEvent(int evtType, int[] path, int indexFrom, int indexTo) for our model the tree is not updated correctly.
      We change a label of a treeitem and then the fireEvent method is called with the following data:
      evtType: 0, path: 3, indexFrom: 0, indexTo: 0 (see attached picture: "beforeEdit.png")

      The tree is not updated correctly. The item switches to another parent, but the label is set to the new label (see attached picture: "afteredit.png")

        Attachments

        1. afteredit.PNG
          afteredit.PNG
          19 kB
        2. beforeEdit.PNG
          beforeEdit.PNG
          18 kB

          Activity

            People

            Assignee:
            MontyPan MontyPan
            Reporter:
            luk219 luk219
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: