Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OData V4 TripPin PATCH error: "Currently only EntitySets can be updated." #148

Open
boghyon opened this issue Nov 7, 2021 · 1 comment

Comments

@boghyon
Copy link

boghyon commented Nov 7, 2021

  1. Open https://output.jsbin.com/zimijuq
  2. Open browser's devtool (F12 on Windows)
  3. Select a new date range from the UI
  4. Observe the error response in the network tab or in the console.

The server reports that the entity cannot be updated because the method PATCH is not yet supported:

The server responded with a status of 501 (Not Implemented).
Failed to update path /People('russellwhyte')/Trips(0)/StartsAt - Error: Currently only EntitySets can be updated.
Failed to update path /People('russellwhyte')/Trips(0)/EndsAt - Error: Currently only EntitySets can be updated.

Does the service really not support PATCH on a single entity? Or is the client missing something?

@boghyon
Copy link
Author

boghyon commented Jul 17, 2023

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant