PDA

View Full Version : sync() not updating phantom records



sgtpepper
27 Jun 2011, 1:44 PM
In Sencha Touch 1.1.0 I'm seeing this Ext JS problem:

http://www.sencha.com/forum/showthread.php?125729-FIXED-EXTJSIV-212-Ext.data.Store.sync()-does-not-update-id-of-phantom-records

Store is using rest proxy, json - updates and deletes work fine. Is this a known issue with Touch?

sgtpepper
27 Jun 2011, 2:29 PM
It does appear to be a bug in Touch still. The fix suggested in the above issue for Ext JS sort of works in Touch. You have to use "this" instead of "me" and the edit is done in sencha-touch.js or sencha-touch-debug.js (whichever you use) but otherwise it cleared up the problem.