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

Improve error messaging when trying to submit to a closed form #6557

Open
alyblenkin opened this issue Dec 20, 2024 · 0 comments
Open

Improve error messaging when trying to submit to a closed form #6557

alyblenkin opened this issue Dec 20, 2024 · 0 comments

Comments

@alyblenkin
Copy link
Collaborator

alyblenkin commented Dec 20, 2024

When a form has been closed or deleted on the server side, users get a generic "Could not find the resource you were looking for" from the server when they try to submit.

Collect should take ownership of this error message so that it can be localized. When Collect gets a 404 on submission, it should show the message:

You can no longer make submissions to this form. It may have been archived, disabled or deleted. If this is unexpected, please contact the person who asked you to fill the form.

This is similar to the related Enketo message: https://github.com/enketo/enketo/blob/0cdf70f3d61069550199cfb66ee7950c4a49972d/packages/enketo-express/locales/src/en/translation.json#L228C225-L228C305

https://docs.google.com/spreadsheets/d/1QojgovWhiZXxcUjOw6PjLoGKeXhEVORDpUb3afgvJwg/edit?gid=354229042#gid=354229042

@alyblenkin alyblenkin moved this to not ready in ODK Collect Dec 20, 2024
@alyblenkin alyblenkin moved this from not ready to inbox in ODK Collect Dec 20, 2024
@seadowg seadowg moved this from inbox to not ready in ODK Collect Jan 7, 2025
@lognaturel lognaturel changed the title Improve error messaging when trying to open a closed form Improve error messaging when trying to submit to a closed form Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: not ready
Development

No branches or pull requests

3 participants