View Full Version : datachanged fired twice in ST2 PR3

22 Jan 2012, 9:21 AM

I have noticed, that the "datachanged" event is triggered twice, when I call add on a store.
The first one is fired in Ext.data.Store.insert() when inserting the new object and the second is fired in Ext.data.AbstractStore.onProxyWrite().

So, is this the right behavior or should this event just fire once (I think so)!?
In Sencha Touch 1 this bug was reported: http://www.sencha.com/forum/showthread.php?103241-FIXED-189-Store-datachanged-even-firing-twice

Best regards,

22 Jan 2012, 2:43 PM
Please retest on PR4 (out in the next few days). If it fires twice in your example, please add a thread in the bug forum with a simple test case. Thx