Skip to content

New tree from defaults created in wrong discipline #7776

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug
Upon creating a new tree, it was placed in a different discipline. Using main (b0f9a77).

To Reproduce
Steps to reproduce the behavior:

  1. Use a new copy of the KU Entomology database (https://drive.google.com/file/d/1Phk0SiUxR8snbqzDFjG-ZOgzvgahUheR/view?usp=sharing)
  2. Log into the KUEntoPinned collection
  3. Go to the Taxon tree viewer
  4. Add a new default Tracheophyta tree
  5. Watch it until completion
  6. Verify notification is received that it has been created
  7. Note that it is not in the correct discipline (instead, it is in DisciplineID 5)
TaxonTreeDefID TimestampCreated TimestampModified version FullNameDirection Name Remarks CreatedByAgentID ModifiedByAgentID DisciplineID
1 2011-10-12 13:40:55.000 2011-10-12 13:40:55.000 1 1 Insect taxonomy tree Tree converted from entosp_dbo_6 3
2 2011-10-12 13:40:55.000 2011-10-12 13:40:55.000 1 1 Plant taxonomy tree Tree converted from entosp_dbo_6 5
3 2011-10-12 13:40:55.000 2011-10-12 13:40:55.000 1 1 Invertebrate taxonomy tree Tree converted from entosp_dbo_6 7
4 2026-03-02 16:24:18.000 2026-03-02 16:24:18.000 0 1 Botany (Tracheophyta) 5
Image

Switching to the 'KUEntoPlant' collection, I can verify it is appearing there.

Expected behavior
The tree should be created in the current, logged-in discipline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - TreesIssues that are related to the tree system and related functionalities.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions