MacOS Ventura 13.2.1,
Chrome 123.0.6312.86
SmartGWT 13.0
GWT 2.11
When I have developer tools enabled in browser, an error occurs with every DMI.call()
Even when this is single line application with DMI.Call() invocation, the error still occurs.

I tried disabling
It works in most cases except for loading the datasource, which uses DMI.Call().
I found some incorrect code that prevents passing parameters to the DMI.call function.
DataSource.load()
it is:
isc.combineObjects method doesn't return any value, hence combinedRequestProps is always empty.
should be:
In the end, I can call DataSource.load and apply the setting
By the way, the DSLoadSettings class could have a setter to configure this parameter in a more elegant way.
Chrome 123.0.6312.86
SmartGWT 13.0
GWT 2.11
When I have developer tools enabled in browser, an error occurs with every DMI.call()
Even when this is single line application with DMI.Call() invocation, the error still occurs.
I tried disabling
Code:
RPCRequest req = new RPCRequest(); req.setAttribute("doNotTrackRPC", true); DMI.call(GWT.getModuleName(), "com.example.app", "test", callback, param, req);
I found some incorrect code that prevents passing parameters to the DMI.call function.
DataSource.load()
it is:
Code:
combinedRequestProps = isc.combineObjects( isc.addProperties({}, combinedRequestProps), requestProps);
should be:
Code:
combinedRequestProps = isc.addProperties({}, combinedRequestProps); isc.combineObjects(combinedRequestProps, requestProps);
Code:
DSLoadSettings settings = new DSLoadSettings(); RPCRequest req = new RPCRequest(); req.setAttribute("doNotTrackRPC", true); settings.setAttribute("requestProps", req); settings.setForceReload(true); DataSource.load(dsID, callback, settings);
Comment