Skip to Content
Former Member
Mar 10, 2016 at 06:02 PM

OData submitChanges() Error Handling



I'm using OData Model with TwoWay binding and after I change something I call the method submitChanges().

I'm expecting an error because of the eTag verification.

The problem is that the error occur but the callback function is always success.

If you open the OData object, you will see the expected error response 412, but it is considered success in general.

I want to show a MessageBox when this error occurs, but the response is always success even with this error.

Hou can I proceed?

Thanks in advance,

Henrique Schorr


OData response.jpg (74.1 kB)