-
Notifications
You must be signed in to change notification settings - Fork 161
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
Names of datasets are case-sensitive #627
Comments
This comment was marked as resolved.
This comment was marked as resolved.
I just checked, and it does look like it's possible to create two datasets like this by publishing forms: https://staging.getodk.cloud/#/projects/84. We'd like to address that as part of this issue as well: there should be no way to create two datasets like this. |
When entities just came from forms, it was okay if form A wrote to dataset "trees" and then form B also wrote to dataset "trees". We didn't check for dataset name collisions and this (combined with not altering the casing of the name) is what is leading to it being possible to create both "trees" and "TREES" as separate datasets. Just writing out what I think we want instead:
|
Hi @getodk/testers, I wrote in the PR that some of the places you should expect to see errors now include:
Some things you are allowed to do:
I have a lot of different tests for different situations, but please play around and see if you find any other weird edge cases! |
Tested with success! |
Tested with success! |
Problem description
Names of datasets are case-sensitive. It's possible to create a dataset e.g. "abc" and "Abc".
Steps to reproduce the problem
Screenshot
Expected behavior
Names of datasets should be case-insensitive.
Central version shown in version.txt
https://staging.getodk.cloud/#/
versions:
f0b2a90 (v2023.5.1-5-gf0b2a90)
+2bb17a501416814bbd987ddc953abc5b0c40c58a client (v2023.5.0-43-g2bb17a50)
+267e0ad7806057fc82894f58bea680627f1de5cd server (v2023.5.0-49-g267e0ad7)
The text was updated successfully, but these errors were encountered: