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 entity schema missing version and conflict properties #565

Closed
ktuite opened this issue Dec 13, 2023 · 2 comments · Fixed by getodk/central-backend#1065
Closed

OData entity schema missing version and conflict properties #565

ktuite opened this issue Dec 13, 2023 · 2 comments · Fixed by getodk/central-backend#1065
Assignees
Labels
backend Requires a change to the API server bug entities Multiple Encounter workflows

Comments

@ktuite
Copy link
Member

ktuite commented Dec 13, 2023

Bug noticed by QA:

"! DataSource.Error: Data: The property 'version' does not exist on
type 'org.opendatakit.entity.metadata'. Make sure to only use property names that are defined by the type or mark the type as open type."

  • version and conflict need to be added

Image

@ktuite ktuite added the entities Multiple Encounter workflows label Dec 13, 2023
@ktuite ktuite self-assigned this Dec 13, 2023
@matthew-white
Copy link
Member

It's also missing the __system/conflict property.

@ktuite ktuite changed the title OData schema missing version in entities OData entity schema missing version and conflict properties Dec 13, 2023
@matthew-white
Copy link
Member

version probably needs to be come __version in the __system object

I don't think the name of the property needs to change (it's already part of an __ property). If it did change, then Frontend would have to change as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires a change to the API server bug entities Multiple Encounter workflows
Projects
Status: ✅ done
Development

Successfully merging a pull request may close this issue.

2 participants