specify / specify6

Source Code for Specify 6, Biological Collections Management Platform
https://specifysoftware.org
GNU General Public License v2.0
14 stars 6 forks source link

Phylum and Division should not both be options in the same tree #1200

Open grantfitzsimmons opened 2 years ago

grantfitzsimmons commented 2 years ago

In botany and mycology, division refers to a rank equivalent to phylum.

beach53 commented 2 years ago

Botanists use Division, Zoologists use Phylum.

maxpatiiuk commented 2 years ago

@grantfitzsimmons Where do you see "Division"?

The default ranks are created by Sp6. I belive the setup wizard choose Division/Phylum correctly depending on the discipline

grantfitzsimmons commented 2 years ago

@maxpatiiuk I believe it was a Botany database that I noticed this issue on. Theresa said she has seen the same behavior on some databases

maxpatiiuk commented 2 years ago

Could it be that someone manually changed the discipline post database creation?

maxpatiiuk commented 2 years ago

This is a Sp6 bug that affects Sp7 Replicated in a blank Botany database without preloaded taxa The tree definition contains both Division and Phylum They have the same TaxonTreeDefItem.rankId of 30 The Sp6 UI uses Division/Phylum randomly (opening the tree viewer shows Division one time, and Phylum next time)

maxpatiiuk commented 2 years ago

Looks like the bug is in SpWizard. Both Division and Phylum are present in the database even before Specify is opened for the first time.

Screenshot (13)