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

Table name and field name appearing as invalid #1834

Closed
grantfitzsimmons opened this issue Jul 14, 2022 · 7 comments
Closed

Table name and field name appearing as invalid #1834

grantfitzsimmons opened this issue Jul 14, 2022 · 7 comments
Labels
1 - Bug Incorrect behavior of the product

Comments

@grantfitzsimmons
Copy link
Member

image

When viewing the RefrenceWorkType pick list, the Table Name and Field Name are displaying as invalid.

db: newmexico_july22
user: spadmin

https://a11y-2-2.test.specifysystems.org/specify/view/picklist/14/

@grantfitzsimmons grantfitzsimmons added 1 - Bug Incorrect behavior of the product pri:unknown labels Jul 14, 2022
@maxpatiiuk
Copy link
Member

They are invalid because pick list type is User Defined Items

Pick lists that contain user defined items are not supposed to have table name or field name

@maxpatiiuk
Copy link
Member

Changing the pick list type removes the invalid value labels

@maxpatiiuk
Copy link
Member

Those fields should probably be hidden when not applicable.

We have #364 open for that

@maxpatiiuk maxpatiiuk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2022
@maxpatiiuk maxpatiiuk added the res:wontfix Design decision or behaviour that won't be changed. Use this alongside "Close as not planned" label Jul 14, 2022
@grantfitzsimmons
Copy link
Member Author

I had not changed the type. This is a pick list that was assigned to a field by default and has had no modifications

@maxpatiiuk
Copy link
Member

Was it there by default after database got created?
If so, our default pick lists are a bit invalid

@maxpatiiuk maxpatiiuk removed the res:wontfix Design decision or behaviour that won't be changed. Use this alongside "Close as not planned" label Jul 14, 2022
@grantfitzsimmons
Copy link
Member Author

Yes. I believe it is the default, unmodified ReferenceWorkType pick list assigned to Reference Work -> referenceWorkType

@maxpatiiuk
Copy link
Member

maxpatiiuk commented Jul 14, 2022

Okay. It's not a big issue, because they would just be ignored.

Hiding portions of the form depending on pick list type would hide the fields that don't apply and make this less confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product
Projects
None yet
Development

No branches or pull requests

2 participants