Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Community Support Team
    Join Date
    Jun 2010
    Posts
    220
    Vote Rating
    0
    meyerovb is on a distinguished road

      0  

    Default [FIXED-215] Store add method broken

    [FIXED-215] Store add method broken


    The below code produces a list with 2,1,3,4. Clicking on 3 alerts 4, clicking on 4 alerts 3 (1 & 2 alert correctly).

    Code:
    Ext.setup({ onReady: function () {
    var list = new Ext.List({
        fullscreen: true,
        store: new Ext.data.Store({ fields: ['i'] }),
        tpl: new Ext.XTemplate('<tpl for="."><div class="list-item">{i}</div></tpl>'),
        itemSelector: '.list-item',
        listeners: {
            itemtap: function (list, index, item) {
                alert(list.getStore().getAt(index).data.i);
            }
        }
    });
    list.getStore().add({ i: 1 }, { i: 2 });
    list.getStore().add({ i: 3 }, { i: 4 });
    }});

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    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


    I've added a series of unit tests exercising this behavior and all are passing correctly so I'm closing this ticket.
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Similar Threads

  1. Replies: 2
    Last Post: 10 Feb 2011, 4:08 AM
  2. [FIXED-201] Store.filter Broken
    By cnelissen in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 3 Sep 2010, 5:51 PM
  3. Replies: 3
    Last Post: 11 Aug 2010, 10:30 AM
  4. store add method => how to evaluate response
    By triple in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 11 Apr 2010, 11:05 AM
  5. [FIXED-70] Recent update(xds-1.0.0.3) has broken the store
    By jackygurui in forum Ext Designer: Bugs
    Replies: 1
    Last Post: 30 Mar 2010, 4:06 PM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi