Hello,
I’ve got a big problem but I don’t understand why it happens, because it used to work until a few days ago, and doesn’t any more for an unknown reason.
I get a JS error during code execution.
On Chrome 11
11:43:03.815:XRP0:WARN:Log:TypeError: Cannot set property 'location' of undefined
On Firefox 4
11:39:08.127:XRP6:WARN:Log:TypeError: _5 is undefined
unnamed("list", undef)
DataSource.getSoapBody(_1=>{Obj}, _2=>{Obj})
DataSource.getXMLRequestBody(_1=>{Obj})
DataSource.getServiceInputs(_1=>{Obj})
DataSource.sendDSRequest(_1=>{Obj})
DataSource.performDSOperation(_1=>"fetch", _2=>{Obj}, _3=>{Obj}, _4=>{Obj})
DataSource.fetchData(_1=>{Obj}, _2=>{Obj}, _3=>{Obj})
ResultSet.fetchRemoteData(_1=>{Obj}, _2=>0, _3=>75)
ResultSet._fetchRemoteData()
ResultSet.getRangePaged(_1=>0, _2=>7, _3=>undef, _4=>undef)
ResultSet._getRangePaged(0, 7, undef, undef)
ResultSet.getRange(_1=>0, _2=>7)
ListGrid.requestVisibleRows()
Canvas.filterWithCriteria(_1=>{Obj}, _2=>{Obj}, _3=>{Obj})
Canvas._filter("fetch", {Obj}, undef, {Obj})
Class.invokeSuper(_1=>null, _2=>"$wo")
Class.Super(_1=>"$wo", _2=>[object Array], _3=>[object Arguments])
ListGrid._filter("fetch", undef, undef, {Obj})
Canvas.fetchData()
alertMgtServiceLoaded({Obj}, {Obj})
[c]Class.fireCallback(_1=>alertMgtServiceLoaded, _2=>"service,rpcRequest", _3=>[object Array])
XMLTools._completeLoad(alertMgtServiceLoaded, "service,rpcRequest", [object Array])
XMLTools._loadSchemaToJSReply({Obj})
XMLTools._loadSchemaReply({Obj}, {Obj})
unnamed({Obj}, "<?xml version='1.0' encoding='UTF-8'?><..."[ 20141], {Obj}, {Obj})
[c]Class.fireCallback(_1=>function (_9, _10, _11, _12), _2=>"xmlDoc,xmlText,rpcResponse,rpcRequest", _3=>[object Array])
XMLTools._getXMLResponseReply({Obj}, "<?xml version='1.0' encoding='UTF-8'?><..."[ 20141], {Obj})
[c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array], _4=>{Obj}, _5=>undef)
[c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array])
[c]RPCManager.fireReplyCallback(_1=>{Obj}, _2=>{Obj}, _3=>{Obj}, _4=>"<?xml version='1.0' encoding='UTF-8'?><..."[ 20141])
[c]RPCManager.fireReplyCallbacks(_1=>{Obj}, _2=>{Obj})
[c]RPCManager.performOperationReply(_1=>{Obj}, _2=>{Obj})
RPCManager._performTransactionReply(2)
[c]RPCManager.performTransactionReply(_1=>2, _2=>"<?xml version='1.0' encoding='UTF-8'?><..."[ 20141], _3=>undef)
anonymous(2, [object XMLHttpRequest])
[c]Class.fireCallback(_1=>"isc.RPCManager.performTransactionReply(..."[ 67], _2=>"transactionNum,results,wd", _3=>[object Array])
[c]Comm.performXmlTransactionReply(_1=>2, _2=>[object XMLHttpRequest])
anonymous([object XMLHttpRequest])
[c]Class.fireCallback(_1=>"isc.Comm.performXmlTransactionReply(2, ..."[ 56], _2=>"xmlHttpRequest", _3=>[object Array], _4=>[object Proxy], _5=>true)
Comm._fireXMLCallback([object XMLHttpRequest], "isc.Comm.performXmlTransactionReply(2, ..."[ 56])
unnamed([object Event])
unnamed()
and here is my code generating this error:
isc.XMLTools.loadWSDL(wsAlertMgtServiceWSDL_URL, alertMgtServiceLoaded);
function alertMgtServiceLoaded() {
isc.DataSource
.create({
ID : "alertsDS",
dataURL : wsAlertMgtServiceURL,
fields : [ {
title : "Time stamp",
name : "timestamp",
primaryKey : true
}, {
title : "Message",
name : "message"
}, {
title : "Status",
name : "status"
}, {
title : "MMSI",
name : "mmsi"
} ],
operationBindings : [ {
operationType : "fetch",
wsOperation : "list",
recordName : "alert"
}, {
operationType : "update",
wsOperation : "update",
useFlatFields : true
}, {
operationType : "remove",
wsOperation : "delete",
useFlatFields : true
} ],
serviceNamespace : "http://sdmps.tnnl.thales.com/schemas/alertsvc/1.0",
xmlNamespaces : {
mis : "http://sdmps.tnnl.thales.com/schemas/mission/1.0",
ctx : "http://sdmps.tnnl.thales.com/schemas/alert/1.0",
sdmps : "http://sdmps.tnnl.thales.com/schemas/sdmps/1.0"
},
handleError : handleDSError
});
alertsList.setProperty("dataSource", "alertsDS");
alertsList.fetchData();
// enable auto refresh for grids
Timer.setTimeout(autoRefreshGrids, 10000);
}
Have you got an idea of what is the problem here ?
Thanks in advance