Nov 08, 2013, 2:56 AM
[CLOSED] Store Sync order of operations
Is there a way to change the order of operations for Store sync? I am using a store with an AjaxProxy. It looks like the process order is new records, updated records, then deleted records.
I would think that you would want to first process deleted records then anything else.
The example is:
I delete a record in the Grid with the Name field of 'Microsoft', which is a unique constraint. Before syncing the store I add a new record with a name field of 'Microsoft'. Since the process order is New, Update, Delete the new record fails to insert, but then the deleted record is removed and I now have no 'Microsoft record.
Just curious ...
I would think that you would want to first process deleted records then anything else.
The example is:
I delete a record in the Grid with the Name field of 'Microsoft', which is a unique constraint. Before syncing the store I add a new record with a name field of 'Microsoft'. Since the process order is New, Update, Delete the new record fails to insert, but then the deleted record is removed and I now have no 'Microsoft record.
Just curious ...
Last edited by Daniil; Nov 14, 2013 at 1:21 PM.
Reason: [CLOSED]