-
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
Creating an entity by an update form and sending registration form afterwards results in conflict with missing information #815
Comments
@ktuite, I think what's happening here is that the entity as a whole is being marked as a conflict, but the API is not returning v2 as a conflict (its |
I tried out what it would look like to take the above scenario but mark the 2nd version as a soft conflict with no There's not really a traditional conflict because there isn't a 3-way thing happening (except with the state of entity-non-existence?) so the orange info box on the update submission looks strange. What I think needs to be communicated is "ALERT! This create action came in late and was applied as an update!" |
I'm now happy with my approach in PR getodk/central-backend#1319 |
Should the steps from the issue result in the hard conflict? |
|
Tested with success! |
1 similar comment
Tested with success! |
Problem description
I created an entity by submitting only an update form (waited till it's force-processed) and then I sent the registration form. In the entity detail page there's a conflict but in the "Data updates in parallel" table there's "There are no conflicts to show".
URL of the page
e.g. https://staging.getodk.cloud/#/projects/101/app-users
Steps to reproduce the problem
Screenshot
Expected behavior
"Data updates in parallel" table should contain information about the conflict
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: