-
14 Jun 2012 12:31 AM #1
jsonp proxy bug on destroy!
jsonp proxy bug on destroy!
proxy.jsonp overrided the destroy method irrately:
this method will be called by 'me.proxy.batch[operation.action]' in 'Batch' object://inherit docs
destroy:function()
{
this.abort();
this.callParent(arguments);
},
when the action is 'destroy', the 'BUG' will be occuring..., the calling will be abort!runOneOperation: function(....
....
operation.setStarted();
me.proxy[operation.action](operation, onProxyReturn, me);
}
why override this method?
-
27 Jun 2012 6:17 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
I am thinking whomever worked on this was trying to abort any requests open by that proxy when the store and proxy are destroyed.
Thanks for the report.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-6663
in
4.1.


Reply With Quote