feature request #9515
Add DescriptionType to TaxonDescription of TaxonAssociations in ABCD import
copied from #9512:
Probably more such descriptions are created by the ABCD import. Katja, can you please check if ABCD already sets the status? If not create a ticket with additivity tag.
There are some other issues related to this status. I will create new tickets for them.
- search for a description of type "TaxonAssociation" and use this description or create a new one
ref #9515 adding a break in the loop as we only search for the first description being a specimen holding description
ref #9515 rename state in SpecimenImportBase to individualsAssociationDescriptionPerTaxon and cleanup
#10 Updated by Andreas Müller 22 days ago
- % Done changed from 50 to 70
I have renamed the method to set the description to the import state to get/setIndividualsAssociationDescriptionPerTaxon to make semantics clear. (push will come with the model update branch)
There is one thing I wonder about: in about line 1253 you call this method again. I it should be removed here and either added to the loop (before break) or generally be put before "//PREPARE REFERENCE QUESTIONS" and called only 1x (so being removed in the if-statement with "TaxonDescription.NewInstance(taxon, false);" (the later is preferred as it is simpler)
Can you adapt the code accordingly (once I have pushed my changes) and run a final import test on nightly. Then we can close this ticket.