This project is read-only.

Saving changes looks okay but fails silently


Hi, me again :)

I had an issue the the POST method - an entity was validated and the validation threw an exception but since you're wrapping the save in a Task, then the result was returned to the client as if nothing happened.

As a quick solution I added a check to the ChangeSetExtensions+OnChangeSetSuccess:
        public static void OnChangeSetSuccess(this ODataController oDataController, Action completionFunction)

            if (task.Exception != null)
                throw task.Exception;