-
17 Mar 2011 3:59 AM #1
[FIXED][PR4] Ext.direct.RemotingProvider callback does not work
[FIXED][PR4] Ext.direct.RemotingProvider callback does not work
Uncaught ReferenceError: fn is not defined
so funcName is used as the variable for function name but fn is used laterCode:/** * Run any callbacks related to the transaction. * @private * @param {Ext.direct.Transaction} transaction The transaction * @param {Ext.direct.Event} event The event */ runCallback: function(transaction, event){ var funcName = event.status ? 'success' : 'failure', callback, result; if (transaction && transaction.callback) { callback = transaction.callback; result = Ext.isDefined(event.result) ? event.result : event.data; if (Ext.isFunction(callback)) { callback(result, event); } else { Ext.callback(callback[fn], callback.scope, [result, e]); Ext.callback(callback.callback, callback.scope, [result, e]); } } }
-
17 Mar 2011 4:03 AM #2
I was quite literally just fixing this as I saw your post. Weird!
Thanks for the report.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
25 Sep 2012 11:03 PM #3
Could you take a look on this thread?
http://www.sencha.com/forum/showthre...error-callback
Thanks,
Daniel
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Direct method callback scope
By kodomo in forum Ext.DirectReplies: 2Last Post: 20 Oct 2010, 5:57 AM -
[UNKNOWN][3.0.3] RemotingProvider - onData not sending callback if reading response failed
By ThorstenSuckow in forum Ext 3.x: BugsReplies: 1Last Post: 4 Jan 2010, 6:30 AM -
Direct Method not firing callback.
By colin.jones in forum Ext.DirectReplies: 1Last Post: 2 Oct 2009, 3:08 AM


Reply With Quote