NHMDenmark / Mass-Digitizer

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

Novel taxon name not sticky + Georegionname randomly set #320

Closed FedorSteeman closed 1 year ago

FedorSteeman commented 1 year ago

Issue

There is the following phenomenon:

  1. A novel taxon name is entered, georegion is left alone, a barcode is entered and the specimen record is saved
  2. No changes to the subsequent record, except for entering barcode and specimen record is saved
  3. Result: a. Novel taxon name is not transferred to new specimen record b. For unknown reasons, georegionname is now set (e.g. to "Island")

Tasks:

The first task is solved by #319 - the second issue went away with the commit updating setGeoRegionFields() in specimen.py

FedorSteeman commented 1 year ago

Fixed the novel taxon not being transferred by ensuring it's saved to the taxonname table This also means novel taxon names now come up with autosuggest

There's still an issue with the georegionname being randomly set, though it's not being touched