getodk / getodk/central

Refine error message when making edit to outdated submission version to account for Collect edits

Open
#804 1 comment 0 reactions 0 assignees View on GitHub
needs discussion
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

Related to https://github.com/getodk/central/issues/802

Currently, when there's an attempt to edit a deprecated submission version, Central returns a 409 with the following message:

> You tried to update a submission, but the copy you were editing (undefined) is now out of date. Please get the new version that has been submitted, and make your edits again.

Enketo does not display the message,
Screenshot 2024-11-26 at 3 27 43 PM

We don't yet know what Web Forms will do with that case.

Collect will soon allow [edits to sent forms already on their device](https://forum.getodk.org/t/collect-enable-data-collectors-to-make-edits-to-finalized-or-sent-forms-already-on-their-device/46168). The current message is not appropriate for that. We may want to modify the message or maybe we just let clients design their own messages.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.