Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member MaximGB's Avatar
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    513
    Vote Rating
    5
    MaximGB is on a distinguished road

      0  

    Default Tree panel duplicates child nodes of a manually appended node

    Example in Sencha Fiddle:
    https://fiddle.sencha.com/#fiddle/78i

    Ext version tested:
    • Ext 4.2.1 rev 883


    Browser versions tested against:
    • Chrome 35.0.1916.153


    DOCTYPE tested against:
    • Strict


    Description:
    • Tree panel duplicates child nodes of a manually appended node.
    • This doesn't happen if TreeStore isn't binded to a tree panel
    • This doesn't happen if 'expanded' flag on a newly appended branch node is set to false and node then programmaticaly expanded
    • This doesn't happen if 'loaded' flag on a newly appended branch node is set to true


    Steps to reproduce the problem:
    • Create a tree store
    • Create a tree panel with above tree store binded
    • Get root node and append new node to it using root.appendChild(new_node_inline_data)


    The result that was expected:
    • The same amount of child nodes new_node_inline_data contains


    The result that occurs instead:
    • Double amount of child nodes new_node_inline_data contains
    Use the force - read the source.

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    8,767
    Vote Rating
    239
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    I see the issue in 4.2.2 as well, but it looks like it has been addressed already. I cannot recreate using 5.0.0 or the latest nightly release of 4.2.3.


    Join me at SenchaCon 2016!

Thread Participants: 1

Tags for this Thread