PDA

View Full Version : [OPEN-1210][Ext 3.3 beta] Regression: Deleting second record in Store doubles request



Munter
16 Aug 2010, 2:23 AM
I have noticed the following regression from Ext 3.2.x to Ext 3.3.x:



I have a Store with a DataReader and a DataWriter in place. The Store has autosave: true
I delete record1 -> The store initiates a 'destroy record1' action to the backend.
I delete record2 before the backend answers -> The store initiates a 'destroy record1 and record2' actionto the backend.
The first action returns with a success -> The backend deletes record1.
The second action returns as a failure because I tried to delete and already deleted record.
The store now reverts the failed delete of record1, and is from now on out of sync with the server.



I haven't got time to make a working test case right now because I have no idea how to get a store into a working state for this test without setting up a backend that responds correctly.

Jamie Avins
16 Aug 2010, 10:05 AM
Thank you for the report.