extjs - Updated records don't match Store.sync() -
i having trouble when updating store
ext.define("manageshows.model.show", { extend: "ext.data.model", config: { idproperty: 'id', fields: [ { name: 'id' , type: 'int'}, { name: 'name', type: 'string' } ], validations: [ { type: 'presence', field: 'name', message: 'please enter name show.'} ] } }); when try sync() error
[warn][ext.data.operation#process] unable match updated record came server. the list holding data contains duplicate entries of first element in list. if refresh page list displays correctly updated term.
i don't know part of records don't match. different can see store.id = "ext-record-4" seem auto generated , not saving value in database store.data.id = {id database}.
how can find not matching?
edit: important note error 7 times in row , have 8 entries. if updated first entry changes work , displayed corrently
i stopped servlet returning json data after sync() call. wasn't need because sencha touch updates data locally automatically
Comments
Post a Comment