View Full Version : Why store.add calls destroy after destroy action?

14 Oct 2014, 7:28 AM
I ran into a problem. I have a store and the autoload and autosync is true. The strange thing is that if I run store.remove it will call destroy api. After that, if I run store.add it will call create and destroy both apis.
Is this right?

15 Oct 2014, 11:45 PM

What version of ExtJS are you working with?
Can you share a simple test case that demonstrates the issue you're seeing either here or at https://fiddle.sencha.com

16 Oct 2014, 7:46 AM
OK, this is caused by the server sending back "[null]", the array of null has been caught as exception, so I guess the Ext consider the request as not finished. Thus, the request is pending until next sync.

But I tried to abort the request using Ext.Ajax.abortAll(), and it doesn't work at all.