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

Taxon form is based on current discipline, not host taxon discipline #3293

Open
grantfitzsimmons opened this issue Apr 4, 2023 · 4 comments
Labels
1 - Bug Incorrect behavior of the product 2 - Forms Issues that are related to the form system

Comments

@grantfitzsimmons
Copy link
Member

grantfitzsimmons commented Apr 4, 2023

While testing #3283 I found that the rank options are based on the current discipline's tree rather than the host taxon discipline.

It was originally /api/specify/taxontreedefitem/20/, appearing similar to the one below (link):

image

image

I can change the rank to the valid rank in the current discipline, which in this case is now "DB", which is a rank that does not exist in the other discipline's tree definition.

Screen.Recording.2023-04-03.at.7.43.36.PM.mov

Now I cannot open the "Life" rank as the lower rank is not part of the tree definition in the destination collection.

@grantfitzsimmons grantfitzsimmons added 1 - Bug Incorrect behavior of the product pri:unknown labels Apr 4, 2023
@grantfitzsimmons
Copy link
Member Author

For more context, the rank Kingdom in the host taxon collection's discipline (Host) has a taxontreedefitem ID of 20. The rank of Kingdom in the source collection's discipline (Kriebel_Plants) has a taxontreedefitem ID of 2.

https://purdueherbaria11023-issue-2405.test.specifysystems.org/specify/view/taxontreedefitem/2/
https://purdueherbaria11023-issue-2405.test.specifysystems.org/specify/view/taxontreedefitem/20/

This means I cannot set the rank back to the correct option.

@grantfitzsimmons grantfitzsimmons changed the title Taxonomic rank pick list is based on current discipline, not host taxon discipline Taxon form is based on current discipline, not host taxon discipline Apr 4, 2023
@maxpatiiuk
Copy link
Member

This issue is a subset of #1886

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Front-End Backlog Apr 5, 2023
@grantfitzsimmons grantfitzsimmons added 2 - Forms Issues that are related to the form system and removed Unsorted labels Jul 2, 2023
@emenslin
Copy link
Collaborator

emenslin commented Aug 5, 2024

Can recreate in edge (7.9.6)

@bronwyncombs
Copy link

North Carolina State University Herbarium has reported this issue.

In order to add a new node to the host taxon tree, users must switch collections. The qcbx '+' brings up a new taxon form, but it is then set in the current collection.

Screen.Recording.2025-01-16.at.12.33.13.PM.mov

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 2 - Forms Issues that are related to the form system
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants