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

Creating draft submission results in new entity #880

Closed
matthew-white opened this issue May 19, 2023 · 0 comments · Fixed by #881
Closed

Creating draft submission results in new entity #880

matthew-white opened this issue May 19, 2023 · 0 comments · Fixed by #881
Assignees
Labels
entities Multiple Encounter workflows

Comments

@matthew-white
Copy link
Member

matthew-white commented May 19, 2023

@lognaturel and I discussed this issue here. A draft submission (a submission created while testing a form draft) shouldn't result in a new entity. That wasn't possible previously because draft submissions can't be approved. However, now that entities can be created on submission receipt, it's a possibility. You can see that in this project: https://staging.getodk.cloud/#/projects/28. I published the form "Tree registration", creating a dataset. I then uploaded a second form, "Tree registration 2", which creates entities in the same dataset. I didn't publish it, but I created a draft submission. Doing so created an entity in the dataset.

This behavior seems to be true of all draft submissions, whether for a draft form that has never been published or for a draft of a form with a published version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
entities Multiple Encounter workflows
Projects
Status: ✅ done
Development

Successfully merging a pull request may close this issue.

2 participants