-
Notifications
You must be signed in to change notification settings - Fork 159
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
Sending second update of the entity as the first one - registration form with "Problem processing Entity Query returns an unexpected result." #808
Comments
@ktuite, this might be a good one for you to look into if you have time.
I wanted to leave a comment about this part. If you submit the second update first, then the first update, then lastly the entity create (the registration form), then only the entity create should be marked as a conflict. There are exactly three situations in which a new entity version is supposed to be marked as a conflict, which are described in #805. The first two entity versions from the two updates don't match any of the three situations, but v3 of the entity (from the entity create) matches situation 2. Here are the three situations (out of order, simplest to more involved):
|
Tested with success! |
1 similar comment
Tested with success! |
Problem description
I locally created an entity and updated it twice (in Collect), then I sent the second update first so that it creates the entity in Central. Afterwards I sent the first update and the registration form as the last one. In the submission detail page of the registration form there is information "Problem processing Entity Query returns an unexpected result."
And I'm not sure if there should be a conflict after sending the second update (the first update created the entity in Central)?
URL of the page
e.g. https://staging.getodk.cloud/#/projects/101/app-users
Steps to reproduce the problem
Screenshot
Registration form submision detail page
Expected behavior
I'm not sure what is the expected result
Central version shown in version.txt
https://staging.getodk.cloud/
versions:
51a3e10 (v2024.2.1-4-g51a3e10)
+bb2b2325c5fde4e1325e0d0fcec9c3db6a58cfd7 client (v2024.2.1-35-gbb2b2325)
+57c4da581a21928eb21fef8097f72870af6e4d4d server (v2024.2.0-83-g57c4da58)
The text was updated successfully, but these errors were encountered: