Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

[bug] RealtimeMessaging not working

$
0
0
SmartClient Version: v10.0p_2015-07-13/Enterprise Deployment (built 2015-07-13)

Chrome on OSX

Hello, I'm trying to update an application which is using
SmartClient Version: v10.0p_2015-04-23/Enterprise Deployment (built 2015-04-23)

but the RealtimeMessaging doesn't work, I've got this js error:

Code:

11:34:17.476:XRP1:WARN:Log:TypeError: Cannot read property 'sequenced' of undefined
Stack from error.stack:
        [c]Messaging.send(<no args: exited>) @ ISC_RealtimeMessaging.js:99:25
        DataSource.operationId(<no args: exited>) on [DataSource ID:JPC_POSTI_FILE_SETTORI] @ jpcCore.js:2386:35
        [c]DataSource.fireCallback(callback=>"isc.Comm.performXmlTransactionReply(6, x..."[54], argNames=>"xmlHttpRequest", args=>Array[1], target=>[object Window], catchErrors=>true) @ ISC_Core.js:6609:32
        [a]DataSource.fireCallback(<no args: exited>) on [DataSource ID:JPC_POSTI_FILE_SETTORI] @ ISC_Core.js:8422:32
        DataSource.fireResponseCallbacks(<no args: exited>) on [DataSource ID:JPC_POSTI_FILE_SETTORI] @ ISC_DataBinding.js:18241:39
        DataSource._completeResponseProcessing(<no args: exited>) on [DataSource ID:JPC_POSTI_FILE_SETTORI] @ ISC_DataBinding.js:18192:14
        DataSource._handleSCServerReply(<no args: exited>) on [DataSource ID:JPC_POSTI_FILE_SETTORI] @ ISC_DataBinding.js:56208:14
        [c]RPCManager.fireCallback(callback=>"isc.Comm.performXmlTransactionReply(6, x..."[54], argNames=>"xmlHttpRequest", args=>Array[1], target=>[object Window], catchErrors=>true) @ ISC_Core.js:6609:32
        [a]RPCManager.fireCallback(<no args: exited>) on [RPCManager ID:builtinApplication] @ ISC_Core.js:8422:32
        [c]RPCManager.fireReplyCallback(<no args: exited>) @ ISC_DataBinding.js:39981:42

My code calls:
isc.Messaging.send("jms/updateMappaJtaChannel", data);

an easy workaround is to modify my call:
isc.Messaging.send("jms/updateMappaJtaChannel", data, null, {});

btw, the requestProperties parameters isn't mentioned in the docs.

Viewing all articles
Browse latest Browse all 4756

Trending Articles