-
11 Aug 2010 6:31 AM #1
[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 }); }});
-
11 Aug 2010 9:51 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Thank you for the report.
-
3 Sep 2010 6:21 PM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
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
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN] [FIXED][3.0RC1] DataProxy Broken -- overwrites its own request method
By jacombs in forum Ext 3.x: BugsReplies: 2Last Post: 10 Feb 2011, 4:08 AM -
[FIXED-201] Store.filter Broken
By cnelissen in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 3 Sep 2010, 5:51 PM -
[Ext 3.3 beta][FIXED-1190] Store add method doubles requests to the server
By Munter in forum Ext 3.x: BugsReplies: 3Last Post: 11 Aug 2010, 10:30 AM -
store add method => how to evaluate response
By triple in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 11 Apr 2010, 11:05 AM -
[FIXED-70] Recent update(xds-1.0.0.3) has broken the store
By jackygurui in forum Ext Designer: BugsReplies: 1Last Post: 30 Mar 2010, 4:06 PM


Reply With Quote