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

Creating Entity in People do not update EntitySet #219

Open
quanterion opened this issue Feb 3, 2023 · 1 comment
Open

Creating Entity in People do not update EntitySet #219

quanterion opened this issue Feb 3, 2023 · 1 comment

Comments

@quanterion
Copy link

TripPin RW test service for OData doesn't show added entities.
When I add entity (Person) via POST https://services.odata.org/V4/(S(xxx))/TripPinServiceRW  service responses with 204 Created. But listing of persons via GET https://services.odata.org/V4/(S(xxx))/TripPinServiceRW remains the same and I can't see added person.

@mikepizzo
Copy link
Member

mikepizzo commented Feb 3, 2023

Code appears to attempt to add the person to the datasource instance. Perhaps the instance isn't being maintained, so it is adding to a different instance than it is retrieving from?

I also tried against https://services.odata.org/TripPinRESTierService, but got a server error (Value cannot be null. Parameter name: edmEntityObject) when posting the person (which we should create a separate issue to investigate).

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

2 participants