I am occasionally having a problem when I delete from a list grid where the remove call works from the server side but the client just hangs due to a TypeError.
Here is the DSRequest:
Here is the response:
and here is the error in the Development Mode tab within eclipse:
Any ideas what would be causing this? I looks like it is trying to update the DataSource cache and blows up.
Thanks!
Here is the DSRequest:
Code:
dataSource:"resourceUsage", operationType:"remove", data:{ sysId:"c6ad403784284882921c7914f484a64d", isVersion:false }, willHandleError:true, showPrompt:true, oldValues:{ sysId:"c6ad403784284882921c7914f484a64d", isVersion:false }, requestId:"resourceUsage$62717", fallbackToEval:false, lastClientEventThreadCode:"TMR7", bypassCache:true
Code:
[ { invalidateCache:false, isDSResponse:true, operationType:"remove", queueStatus:0, status:0, data:null } ]
Code:
ERROR] [xxx] - 13:22:43.066:XRP4:WARN:Log:TypeError: _1 is undefined Stack from error.stack: ListGrid._getRecordComponents() @ xxx/sc/modules/ISC_Grids.js:790 ListGrid._remapVisibleEmbeddedComponents() @ xxx/sc/modules/ISC_Grids.js:1754 ListGrid._remapEmbeddedComponents() @ xxx/sc/modules/ISC_Grids.js:1742 ListGrid.dataChanged() @ xxx/sc/modules/ISC_Grids.js:896 anonymous() @ xxx/sc/modules/ISC_Core.js:74 ResultSet._doneChangingData() @ xxx/sc/modules/ISC_DataBinding.js:1436 ResultSet.handleUpdate() @ xxx/sc/modules/ISC_DataBinding.js:1434 ResultSet.dataSourceDataChanged() @ xxx/sc/modules/ISC_DataBinding.js:1431 anonymous() @ xxx/sc/modules/ISC_Core.js:74 DataSource.updateCaches() @ xxx/sc/modules/ISC_DataBinding.js:451 [c]DataSource.handleUpdate() @ xxx/sc/modules/ISC_DataBinding.js:287 DataSource.fireResponseCallbacks() @ xxx/sc/modules/ISC_DataBinding.js:670 DataSource._completeResponseProcessing() @ xxx/sc/modules/ISC_DataBinding.js:670 DataSource._handleSCServerReply() @ xxx/sc/modules/ISC_DataBinding.js:1766 [c]Class.fireCallback() @ xxx/sc/modules/ISC_Core.js:267 [c]Class.fireCallback() @ xxx/sc/modules/ISC_Core.js:325 anonymous() @ xxx/sc/modules/ISC_DataBinding.js:1294 $wnd.isc.RPCManager.fireReplyCallback() @ :249 [c]RPCManager.fireReplyCallbacks() @ xxx/sc/modules/ISC_DataBinding.js:1297 [c]RPCManager.performOperationReply() @ xxx/sc/modules/ISC_DataBinding.js:1294 RPCManager._performTransactionReply() @ xxx/sc/modules/ISC_DataBinding.js:1283 [c]RPCManager.performTransactionReply() @ xxx/sc/modules/ISC_DataBinding.js:1246 anonymous() @ xxx/sc/modules/ISC_Core.js:68 [c]Class.fireCallback() @ xxx/sc/modules/ISC_Core.js:267 [c]Comm.performXmlTransactionReply() @ xxx/sc/modules/ISC_Core.js:977 anonymous() @ xxx/sc/modules/ISC_Core.js:68 [c]Class.fireCallback() @ xxx/sc/modules/ISC_Core.js:267 Comm._fireXMLCallback() @ xxx/sc/modules/ISC_Core.js:959 Comm.sendXmlHttpRequest/_12() @ xxx/sc/modules/ISC_Core.js:964 unnamed() @
Thanks!
Comment