Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default [FIXED-30] LocalStorage store seems to be loading twice (0.82)

    [FIXED-30] LocalStorage store seems to be loading twice (0.82)


    Code:
    this.userStore = new Ext.data.Store({
        model: 'User',
        proxy: new Ext.data.LocalStorageProxy({
            id: 'user'
        }),
        autoLoad: true
    });
    
    this.userStore.on('datachanged', function() {
        console.log('loaded');
    }, this);
    I console.log'd everywhere in ext-debug-all where datachanged was being fired, order was:

    sort()
    loadRecord()
    loaded
    sort()
    loadRecord()
    loaded

    A loaded event would be useful if at all possible.

  2. #2
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Is this still happening? I think you had previously had a problem with bindStore, which may have been causing this.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    8
    TommyMaintz will become famous soon enough

      0  

    Default


    Although the reason was you were calling bindStore twice, there was a bug in bindStore that has been fixed that directly applies to this.

Similar Threads

  1. [FIXED-149] baseParams is not used for loading store
    By devtig in forum Ext Designer: Bugs
    Replies: 1
    Last Post: 21 May 2010, 9:44 AM
  2. [FIXED-62] Store not loading on preview
    By j-joey in forum Ext Designer: Bugs
    Replies: 3
    Last Post: 2 Apr 2010, 12:49 AM
  3. [FIXED-532][3.1] Problem loading values into store
    By mikecar in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 23 Feb 2010, 11:16 AM
  4. [FIXED][3.0RC1.1] No store is loading?
    By gelleneu in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 28 May 2009, 2:33 PM
  5. [FIXED] Loading a store from an xml string.
    By Arthur B in forum Ext GWT: Bugs (1.x)
    Replies: 22
    Last Post: 14 Apr 2009, 5:57 PM

Thread Participants: 2

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