I am currently using latest evaluation release of SmartClient (v11.0p_2016-04-12) and I'm evaluating it in order to reengineer a large ERP application.
I've found a little nuisance in the way error messages are displayed by the default error handler.
It seems that error text displayed is HTML escaped and produces an output like this:

the response returned, as displayed by Chrome Developer Tools is:
//isc_RPCResponseStart-->[{affectedRows:0,errors:[{"null":{errorMessage:"cf: E' stato violato il seguente constraint: ARTI_UM_CF"}}],invalidateCache:false,isDSResponse:true,operationType:"remove",queueStatus:-1,status:-4,data:null}]//isc_RPCResponseEnd
is it possibile to avoid this escape?
Thank you.
I've found a little nuisance in the way error messages are displayed by the default error handler.
It seems that error text displayed is HTML escaped and produces an output like this:
the response returned, as displayed by Chrome Developer Tools is:
//isc_RPCResponseStart-->[{affectedRows:0,errors:[{"null":{errorMessage:"cf: E' stato violato il seguente constraint: ARTI_UM_CF"}}],invalidateCache:false,isDSResponse:true,operationType:"remove",queueStatus:-1,status:-4,data:null}]//isc_RPCResponseEnd
is it possibile to avoid this escape?
Thank you.
Comment