Results 1 to 2 of 2

Thread: [4.2 nightlies] TreeStore nodeHash created too late

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,078
    Vote Rating
    184
      1  

    Default [4.2 nightlies] TreeStore nodeHash created too late

    Code:
    Ext.define('M', {
       extend : 'Ext.data.Model'
    })
    
    var ts = new Ext.data.TreeStore({
                 model : 'M',
                proxy : {
                    type : 'memory',
                    data : [
                        { id : 123 }
                    ]
                }
            });
            
            
    ts.getById(123).id;
    => this.nodeHash is undefined

    This worked fine in 4.1.x, 4.2.0.265. Setting an empty root in the store config 'solves' it...

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •