Hi,
I am trying out 8.0. And, I am seeing a problem where values are not getting submitted to the server. I tried a beta version of 8.0 a few months ago and this did not happen.
Here is an example of how we add certain values to every request
Then, server side we normally find these params we've added by inspecting either criteria or values from the dsRequest
Map criteria = (Map) dsRequest.getCriteria();
Map values = (Map) dsRequest.getValues();
This is code that has been working correctly on our side for years. Any idea why this is happening with 8.0?
I am trying out 8.0. And, I am seeing a problem where values are not getting submitted to the server. I tried a beta version of 8.0 a few months ago and this did not happen.
Here is an example of how we add certain values to every request
Code:
var statusDS = isc.DataSource.getDataSource("StatusOptions"); statusDS.addMethods({ transformRequest : function (dsRequest) { var params = { cvsTag : cvsTag, browser:BrowserDetect.browser, browserVersion:BrowserDetect.version, browserOS:BrowserDetect.OS, requestUserID: currentUserID, departmentID: currentUserDepartmentID, companyID: currentUserCompanyID }; return isc.addProperties({}, dsRequest.data, params); } })
Map criteria = (Map) dsRequest.getCriteria();
Map values = (Map) dsRequest.getValues();
This is code that has been working correctly on our side for years. Any idea why this is happening with 8.0?
Comment