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

Taxa deleted while still in use #500

Open
JimBacon opened this issue Nov 13, 2023 · 0 comments
Open

Taxa deleted while still in use #500

JimBacon opened this issue Nov 13, 2023 · 0 comments
Labels

Comments

@JimBacon
Copy link
Member

If a taxon has a scientific name and a common name you can record against either one. Each name has a different taxa_taxon_list_id and so a record made against the common name will have the taxa_taxon_list_id of that name.

If the Warehouse UI is then used to modify the common name, the old taxa_taxon_list entry is marked deleted and a new one is added.

The consequence is that a record made against the original common name now has a reference to a taxon that no longer exists.

This was first noticed because it means the record is excluded from queries to add it to Elasticsearch.

@JimBacon JimBacon added the bug label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant