You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha User
    Join Date
    Aug 2011
    Posts
    15
    Vote Rating
    1
    mrpo is on a distinguished road

      0  

    Default


    Hi, got same problem:

    PHP Code:

    //clear store and proxy
    store.getProxy().clear();
    store.data.clear();
    store.sync();                            
    //fill store with new data
    store.add(jsonResponse);
    //sync store
    if(store.getProxy().type == "localstorage")
    {
      
    store.sync();


    After that, when doing a Ext.lookup of the store, it returns a store with wrong data, and after debugging, i've found that is because of the snapshot thingy, and was brought here by google.

    Is what i'm doing here ok? I'm misusing something and triggering the bug?

    is ok if I overwrite the snapshot after doing this?

    Thanks in advance

    edit:

    Well. adding:
    store.snapshot = store.data;

    seems to be working, is there something wrong wih that?

  2. #12
    Sencha User
    Join Date
    Nov 2011
    Posts
    33
    Vote Rating
    0
    tomas.fejfar is on a distinguished road

      0  

    Default


    It`s still not fixed after a year? Don't mean to pry or anything and that's maybe just my experience with Zend Framework's LongTermSupport, but is there any chance this will be fixed anytime soon? Or is 1.1 abandoned?

Similar Threads

  1. Snapshot in Store
    By harsha_velicheti in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 6 Feb 2012, 8:32 AM
  2. [OPEN] [TOUCH-428] Ext.data.Store loadData does not clear / remove snapshot
    By buz in forum Sencha Touch 1.x: Bugs
    Replies: 6
    Last Post: 26 Aug 2011, 3:47 PM
  3. Grid Store snapshot
    By taxidriver in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 11 Jan 2011, 4:40 AM
  4. Replies: 1
    Last Post: 12 Mar 2010, 4:17 PM
  5. [2.0b1][CLOSED] Ext.data.Store.insert misses to update snapshot
    By andrei.neculau in forum Ext 2.x: Bugs
    Replies: 6
    Last Post: 22 Sep 2009, 11:15 PM

Thread Participants: 11

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar