Issue in RPCManager.resendTransaction()

Hi,

With last nightbuld I found that RPCManager.resendTransaction() is not working in IE7 and Chrome. In FireFox 3.5 it works fine. Also it’s works perfect in Chrome with com.smartgwt.debug.SmartGwtDebug.

Exception that I have:
Chrome: “Uncaught TypeError: Cannot read property ‘callback’ of undefined”
IE7: “‘$76k.callback’ - is null or not an object”
IE7 with debug scripts: “‘_args.callback’ - is null or not an object”

Always post a stack trace with any reported JavaScript error.

Sorry, here it is:

18:26:42.756:XRP1:WARN:Log:Error:
	'"$76k.callback" -  есть null или не является объектом'
	in http://notepostnov:8080/RSDHACenter/
	at line 1010
    RPCManager.resubmitTransaction(_1=>Obj)
    RPCManager.resendTransactionsFlagged(_1=>Obj, _2=>"suspended")
    RPCManager.resendTransaction(_1=>undef)
    Class.fireCallback(_1=>callback(), _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>[ValuesManager ID:isc_OID_21], _5=>undef) on [Class Class]
    Class.fireCallback(_1=>callback(), _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>undef)
    EditorActionMethods.formSavedComplete()
    EditorActionMethods.$49z(_1=>Obj, _2=>Obj, _3=>undef)
    callback(dsResponse=>Obj, data=>Array[0], dsRequest=>Obj)
        "isc_OID_21.$49z(dsRequest, dsResponse, data)"
    ** recursed on Class.fireCallback

Thanks, we’ve fixed this, should hit SVN in a few days (or will appear in Pro/EE nightlies overnight).

similar problem

Im also getting a bug with resendTransaction() after a succesful login via Spring Security, with the apr 25 nightly build, as follows:

Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
(TypeError): _1.$76k is undefined
 fileName: http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js
 lineNumber: 1073
 stack: ([object Object])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1073
([object Object],"suspended")@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1064
()@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1062
()@http://127.0.0.1:8888:122
@:0
([object GWTJavaObject],11993089,[object GWTJavaObject],(void 0),[object GWTJavaObject])@http://127.0.0.1:8888/builtinds/hosted.html?builtinds:56
([object Object],(void 0),[object Object])@http://127.0.0.1:8888:220
((function (rpcResponse, data, rpcRequest) {var responseJ = __gwt_makeJavaInvoke(1)(null, 11862078, rpcResponse);var requestJ = __gwt_makeJavaInvoke(1)(null, 11927615, rpcRequest);if (callback != null) {__gwt_makeJavaInvoke(3)(callback, 11993089, responseJ, data, requestJ);}}),[object Object],[object Object])@http://127.0.0.1:8888:54
@:0
(null,27,(function (rpcResponse, data, rpcRequest) {var responseJ = __gwt_makeJavaInvoke(1)(null, 11862078, rpcResponse);var requestJ = __gwt_makeJavaInvoke(1)(null, 11927615, rpcRequest);if (callback != null) {__gwt_makeJavaInvoke(3)(callback, 11993089, responseJ, data, requestJ);}}),[object Object],[object Object])@http://127.0.0.1:8888/builtinds/hosted.html?builtinds:56
([object Object],(void 0),[object Object])@http://127.0.0.1:8888:25
((function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),"rpcResponse,data,rpcRequest",[object Array],[object Object],(void 0))@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:299
((function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),"rpcResponse,data,rpcRequest",[object Array])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:391
((function () {return __gwt_makeJavaInvoke(3)(null, 27, jsFunction, this, arguments);}),[object Object],[object Object],(void 0))@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1158
([object Object],[object Object])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1163
(1)@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1175
([object XMLHttpRequest],1)@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1127
(1,"<SCRIPT>//'\"]]>>isc_loginSuccess\n//\n// When doing relogin with a webserver-based authenticator, protect this page with it and\n// target your login attempts at this page such that when the login succeeds, this page is\n// returned.\n//\n// If you are integrating with a web service that returns a fault, paste this entire script\n// block VERBATIM into the fault text.\n\nwhile (!window.isc && document.domain.indexOf(\".\") != -1) {\n    try {\n        if (parent.isc == null) {\n            document.domain = document.domain.replace(/.*?\\./, '');\n            continue;\n        } \n        break;\n    } catch (e) {\n        document.domain = document.domain.replace(/.*?\\./, '');\n    }\n}\n\nvar isc = top.isc ? top.isc : window.opener ? window.opener.isc : null;\nif (isc) isc.RPCManager.delayCall(\"handleLoginSuccess\", [window]);\n</SCRIPT>",(void 0))@http://127.0.0.1:8888/builtinds/sc/modules/ISC_DataBinding.js:1113
anonymous(1,[object XMLHttpRequest])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:61
("isc.RPCManager.performTransactionReply(transactionNum,results,wd)","transactionNum,results,wd",[object Array])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:299
(1,[object XMLHttpRequest])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:1140
anonymous([object XMLHttpRequest])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:61
("isc.Comm.performXmlTransactionReply(1, xmlHttpRequest)","xmlHttpRequest",[object Array],[object XPCCrossOriginWrapper],true)@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:299
([object XMLHttpRequest],"isc.Comm.performXmlTransactionReply(1, xmlHttpRequest)")@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:1114
([object Event])@http://127.0.0.1:8888/builtinds/sc/modules/ISC_Core.js:1126

See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.

Sorry, but when can we get this fix in SmartGWT LGPL builds?

In a few days. If you need immediate hotfixes then purchase support.