Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
    sk@ia is on a distinguished road

      0  

    Default 4.2 NodeInterface and default root node

    4.2 NodeInterface and default root node


    in 4.2 the removeAll function's implementation changed, it expects childNodes always is defined which is not true if when Ext.tree.Panel.initComponent try to create a default root node with a config {expaneded :true} and this config is passed to Ext.data.TreeStore.setRootNode

    Ext.data.NodeInterface.decorate(model); root = Ext.ModelManager.create(root, model);now you have a root node object with undefined childNodes

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,993
    Vote Rating
    183
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    I'm having a little trouble following the issue. You're saying that nodeInterface's removeAll is different in 4.2 from 4.1.3?

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
    sk@ia is on a distinguished road

      0  

    Default


    Quote Originally Posted by slemmon View Post
    I'm having a little trouble following the issue. You're saying that nodeInterface's removeAll is different in 4.2 from 4.1.3?
    4.1.1
    http://docs.sencha.com/extjs/4.1.1/s...thod-removeAll

Thread Participants: 1