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

Reject creating property with name that case-insensitively matches an existing property #769

Open
lognaturel opened this issue Nov 8, 2024 · 0 comments
Labels
backend Requires a change to the API server

Comments

@lognaturel
Copy link
Member

It's currently possible to create multiple properties that only differ by case: https://staging.getodk.cloud/#/projects/103/entity-lists/cacti

It's unlikely that users actually want such duplicate names. I think it's pretty easy to accidentally end up in this state if multiple form definitions update the same properties by introducing a case typo in one of them.

I believe we already reject Entity List names that are case-insensitive duplicates. I think we should do the same for property names.

@lognaturel lognaturel added the backend Requires a change to the API server label Nov 8, 2024
@github-project-automation github-project-automation bot moved this to 🕒 backlog in ODK Central Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires a change to the API server
Projects
Status: 🕒 backlog
Development

No branches or pull requests

1 participant