Project

General

Profile

Actions

task #7798

open

[AM, ERS]: Import (freetext) nameInSource correctly

Added by Andreas Müller over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Highest
Category:
cdmadapter
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1:00 h
Severity:
normal
Tags:

Description

For occurrence sources and maybe also for common names and facts.

Occurrences:

  1. case: freetext exists parallel to link => if nameCache or fullnameCache are exactly equal then neglect freetext, otherwise store it parallel to name link; a list has been sent to ERS to clean up these cases (see #7798#note-4)
  2. freetext is only name

    a. name can not be found for any Name.nameCache => we could create new TaxonName for this, but will not as it polutes the DB, we better try to clean up theses cases over time (see #7798#note-6)
    b. >1 name is mentioned, separated by '/'. We better clone these sources (now or later)
    c. a name exists in DB, we try to find the best matching name by first searching in the synonymy and, if not exists use the single matching name, if >1 matching names exists, log the case and use the first matching name (prefer name without author)

Most important for import: try to reduce the number of names that only come via occurrence import. These are

  • "Orphaned name: A similar name" : names that do not belong to any taxon but a matching name was found in "synonymy" * Decide for invalid designations (why do they show up?) and orthographic variants
  • "Orphaned name: A similar misapplied name" : like above but for misapplications. * Decide on all
  • TBC

open issues:

  • test code
  • test for facts and common names

Related issues

Related to EDIT - bug #7406: [CHECK] Check if all original source names of occurrences are correctly importedResolvedAndreas Müller

Actions
Actions

Also available in: Atom PDF