HTTP request failed after OData update() method
I have a strange issue - after I use update() method of the sap.ui.model.odata.ODataModel class, I can't make read() from the OData model.
I use Northwind OData service, V2.
I can do as much read() actions as I want - everything works fine.
But after I update() for the first time after the page is loaded and try to make read(), I get the following error:
GET https://webidetesting<appname here>-<account name here>.dispatcher.hana.ondemand.com/nort…iexfh2tyudc5p4qhx5gdf))/OData/OData.svc/Products?$filter=(Rating%20eq%201) 500 (Internal Server Error)
HTTP Status 500 - HTTP protocol error occurred while connecting to remote host http://services.odata.org
When I reload the page and make read(), I can see that the update was successful.
Here is my update() method:
Any ideas why this may happen?