bug #7941
closed
Deduplication does not work in new taxon dialog
Added by Andreas Müller over 5 years ago.
Updated over 5 years ago.
Description
When creating a new taxon including nomenclatural reference via new taxon dialog the data is saved but it seems not to be deduplicated.
It was tested in caryo_spp where deduplication did not take place in new taxon dialog while it took place in name editor.
An example was probably something like "Dianthus fruticosus subsp. amorginus Runemark in Bot. Not. 133(4): 485. 1980" where "Bot. Not. 133(4). 1980" was already in the database (with many duplicates).
- Status changed from New to Resolved
- % Done changed from 0 to 50
- Assignee changed from Katja Luther to Andreas Müller
- % Done changed from 50 to 0
this should be fixed with the changing the parsing method to the same as in name editor. please review.
- Description updated (diff)
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 0 to 90
It seems to work as expected. Only I wonder why parseAndResolveDuplicates is not a static function while parseReferencedName is static in the ParserHandler. Deduplication does not seem to be instance specific (e.g. link to duplication resolver is stored in the instance) therefore it could be static which simplifies the code. (but a very minor issue).
Feel free to close ticket.
- Status changed from Feedback to Closed
Also available in: Atom
PDF