-
22 Nov 2011 9:55 AM #11
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?
-
6 Feb 2012 8:15 AM #12
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?
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.
Similar Threads
-
Snapshot in Store
By harsha_velicheti in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 6 Feb 2012, 8:32 AM -
[OPEN] [TOUCH-428] Ext.data.Store loadData does not clear / remove snapshot
By buz in forum Sencha Touch 1.x: BugsReplies: 6Last Post: 26 Aug 2011, 3:47 PM -
Grid Store snapshot
By taxidriver in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 11 Jan 2011, 4:40 AM -
[FIXED-719] Ext.store.groupBy('field') not firing 'groupchange' event
By sdesalas in forum Ext 3.x: BugsReplies: 1Last Post: 12 Mar 2010, 4:17 PM -
[2.0b1][CLOSED] Ext.data.Store.insert misses to update snapshot
By andrei.neculau in forum Ext 2.x: BugsReplies: 6Last Post: 22 Sep 2009, 11:15 PM


Reply With Quote