getodk / central

ODK Central is a server that is easy to use, very fast, and stuffed with features that make data collection easier. Contribute and make the world a better place! ✨🗄✨
https://docs.getodk.org/central-intro/
Apache License 2.0
127 stars 155 forks source link

Entity submission backlog: apply create as update #702

Closed ktuite closed 1 week ago

ktuite commented 2 months ago

This other issue https://github.com/getodk/central/issues/682 captured the main cases of force-applying submissions held in the backlog. An update could be applied without the right base version, and an update about a non-existent entity that appeared to be created offline could be applied as a create.

These didn't cover the case where a missing offline create comes in after an update was force-applied as a create. In this case, we need to apply the create as an update.