PDA

View Full Version : [FIXED] JsonP abort method error



perry_jia
20 Nov 2011, 9:10 PM
I test the JsonP abort method, and the error message is "Maximum call stack size exceeded", so i check the source code:


abort: function(request){
var requests = this.statics().requests,
key;

if (request) {
if (!request.id) {
request = requests[request];
}
// stack size exceeded, I think
this.abort(request);
} else {
for (key in requests) {
if (requests.hasOwnProperty(key)) {
this.abort(requests[key]);
}
}
}
},


And I found JsonP has another method handleAbort, but never called when I call abort().

mitchellsimoens
21 Nov 2011, 10:48 AM
Moved to bugs forum and pushed into the bug tracker. Ext JS 4.1 has this same error and was fixed so the next release should have it.

Jamie Avins
21 Nov 2011, 2:38 PM
This issues has been resolved for the next release.