1. #1
    Sencha User aflx's Avatar
    Join Date
    Jun 2011
    Location
    Berlin, Germany
    Posts
    64
    Vote Rating
    0
    aflx is on a distinguished road

      0  

    Default datachanged fired twice in ST2 PR3

    datachanged fired twice in ST2 PR3


    Hi,

    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/showthre...n-firing-twice

    Best regards,
    Alex

  2. #2
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    406
    Vote Rating
    4
    abe.elias is on a distinguished road

      0  

    Default


    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

Thread Participants: 1