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

Fix "query returns an unexpected result" bug with entity create-as-update #1318

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

ktuite
Copy link
Member

@ktuite ktuite commented Dec 3, 2024

Closes getodk/central#808 and getodk/central#810

Also includes test of scenario in this issue: getodk/central#811

What has been done to verify that this works as intended?

Why is this the best possible solution? Were any other approaches considered?

Just fixed a bug in how this one query was working! Was looking for the root submission def but it wasn't filtering correctly.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@ktuite ktuite changed the title Test replicating the problem in issue c#808 Fix "query returns an unexpected result" bug with entity create-as-update Dec 3, 2024
@ktuite ktuite marked this pull request as ready for review December 4, 2024 22:41
@ktuite ktuite requested a review from matthew-white December 4, 2024 22:41
@ktuite ktuite merged commit 6fe125c into master Dec 5, 2024
7 checks passed
@ktuite ktuite deleted the ktuite/createAsUpdateBug branch December 5, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants