PDA

View Full Version : [CLOSED] [4.2 nightlies] TreeStore nodeHash created too late



mankz
30 Jan 2013, 12:29 PM
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...

mitchellsimoens
1 Feb 2013, 11:51 AM
Thanks for the report! I have opened a bug in our bug tracker.