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

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

Open
lognaturel opened this issue Nov 26, 2024 · 0 comments
Labels
needs discussion Discussion needed before work can begin

Comments

@lognaturel
Copy link
Member

Related to #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. 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.

@lognaturel lognaturel added the needs discussion Discussion needed before work can begin label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion Discussion needed before work can begin
Projects
None yet
Development

No branches or pull requests

1 participant