NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

NHMA: Family name is not set for taxonomic ID names #423

Closed jlegind closed 9 months ago

jlegind commented 9 months ago

Describe the bug For NHMA Entomology - When inputting the taxonomic identifier into the Taxonomic ID field, the family name is not set upon save.

To Reproduce Steps to reproduce the behavior:

  1. Log in under NHMA Entomology
  2. Create a record setting the taxonomic name by taxonomic ID
  3. Scan the barcode
  4. Check specimen table 'familyname' column

Expected behavior Family name is expected to be applied via the specimen.py searchParentTaxon() function.

Screenshots NHMA_family_issue Here you see the missing family names. I have highlighted in red one instance where the family name was set using the Taxonomic name field instead of the taxonomic ID.

Please complete the following information:

Additional context I think the taxonomic ID processing is missing the step where the searchParentTaxon() function is applied.

PipBrewer commented 9 months ago

This is probably related to issue #430

FedorSteeman commented 9 months ago

This may take a few hours to fix, but let's give it a full day.

FedorSteeman commented 9 months ago

Fixed.