Hi,
I am creating a simple record update UI using listgrid with RestDataSource using JSON dataformat.
The program works fine most of the time when firing grid.saveAllEdits() which posts the updated data to the background.
However, whenever updating a record with a field containing ‘%’ (percentage) character, the RPC call to background doesn’t seem to be working, it just hangs. And in development console I can see following error messages:
13:40:21.187:MUP0:INFO:RPCManager:sendQueue[6]: 1 RPCRequest(s); transport: xmlHttpRequest; target: http://localhost:8080/showcase/../DBUpdate.do
13:40:21.187:MUP0:DEBUG:RPCManager:Using ActiveX XMLHttpRequest via constructor: MSXML2.XMLHTTP
13:40:21.249:MUP0:WARN:Log:Error:
‘The URI to be decoded is not a valid encoding’
in http://localhost:8080/showcase.html
at line 1053
Comm.sendXmlHttpRequest(_1=>Obj)
RPCManager.sendQueue(_1=>undef, _2=>undef, _3=>undef)
RPCManager.sendNoQueue(_1=>Obj)
RPCManager.sendRequest(_1=>Obj)
RPCManager.sendProxied(_1=>Obj, _2=>undef)
DataSource.sendDSRequest(_1=>Obj)
DataSource.performDSOperation(_1=>“update”, _2=>Obj, _3=>“isc_OID_99.$337(dsResponse, dsRequest)”, _4=>Obj)
DataSource.updateData(_1=>Obj, _2=>“isc_OID_99.$337(dsResponse, dsRequest)”, _3=>Obj)
ListGrid.saveEditedValues(_1=>4, _2=>null, _3=>Obj, _4=>Obj, _5=>“_1”, _6=>“programmatic”, _7=>“this.$335(rowNum,1,colNum,editCompletion…”[54])
ListGrid.saveEdits(_1=>“programmatic”, _2=>“this.$335(rowNum,1,colNum,editCompletion…”[54], _3=>4, _4=>null, _5=>undef)
ListGrid.saveAllEdits(_1=>undef, _2=>undef)
StatefulCanvas.handleActivate(_1=>Obj, _2=>undef)
StatefulCanvas.handleClick(_1=>Obj, _2=>undef)
EventHandler.bubbleEvent(_1=>[Label ID:isc_OID_116], _2=>“click”, _3=>undef, _4=>undef)
EventHandler.handleClick(_1=>[Label ID:isc_OID_116], _2=>undef)
EventHandler.$k5(_1=>Obj{type:error}, _2=>undef)
EventHandler.handleMouseUp(_1=>Obj{type:error}, _2=>undef)
EventHandler.dispatch(_1=>EventHandler.handleMouseUp(), _2=>Obj{type:error})
anonymous(event=>undef)
“var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;”
It seems ‘%’ is the only special character that somehow failed the whole thing, I tried others like ‘&’,‘=’,‘/’,‘<’,‘~’ all looks fine.
Has anyone come across similar issue before and have a workaround solution for it? Appreciate any feedback.
Regards,
Eric