-
Notifications
You must be signed in to change notification settings - Fork 76
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
XForm with reserved entity property name can be uploaded in new version #784
Labels
Comments
2 tasks
Tested With Success! |
1 similar comment
Tested With Success! |
srujner
added
behavior verified
Behavior has been manually verified
and removed
needs testing
Needs manual testing
labels
May 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When you upload an XLSForm that would create entities, pyxform will check that a reserved name is not used for an entity property (i.e.,
name
orlabel
). pyxform returns an error message like this:If you upload an XForm instead of an XLSForm, then Backend will complete the check. If you try to create a new form using such an XForm, Backend will return an error message like this:
However, it looks like Backend only checks this when a new form is created, not when a new version is created for an existing form. I was able to upload an XForm with the entity property names
name
andlabel
here: https://test.getodk.cloud/#/projects/444. I think we should complete this check whenever an XForm is uploaded, not just when a new form is created.The text was updated successfully, but these errors were encountered: