Threaded View
-
14 Nov 2012 1:55 PM #1
[2.1.0] Ext.data.proxy.SQL crash on select with no sorters
[2.1.0] Ext.data.proxy.SQL crash on select with no sorters
Hi,
The SQL proxy crashes at line 281:
with the following error message: Uncaught TypeError: Cannot read property 'length' of nullCode:ln = params.sorters.length;
Use case:
Code:Ext.define('App.model.Game', { extend: 'Ext.data.Model', config: { fields: [ { name: 'id', type: 'int' }, { name: 'name', type: 'string' } ], proxy: { type: 'sql' } } });Same kind of bug than those reported in this thread and this one, but 13 lines belowCode:var store = Ext.create('Ext.data.Store', { model: 'App.model.Game', filters: [ {property: 'name', value: 'foo'} ], remoteFilter: true }); store.load(function(records, operation, success) { [...] }
Thanks
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-3717
in
Sprint 28.


Reply With Quote