Revision 9fe94bfe
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java | ||
---|---|---|
1654 | 1654 |
if (nameTypeDesignation != null) { |
1655 | 1655 |
TaxonName typeName = nameTypeDesignation.getTypeName(); |
1656 | 1656 |
if (typeName != null) { |
1657 |
result = state.getDbId(typeName); |
|
1657 |
if (typeName.getTaxonBases().isEmpty()){ |
|
1658 |
logger.warn("type name does not belong to a taxon and therefore is expected to not be a European taxon. Type name not added. Type name: " + typeName.getTitleCache() + ", typified name: " + taxonName.getTitleCache()); |
|
1659 |
}else{ |
|
1660 |
result = state.getDbId(typeName); |
|
1661 |
} |
|
1658 | 1662 |
} |
1659 | 1663 |
} |
1660 | 1664 |
} else if (nameTypeDesignations.size() > 1) { |
Also available in: Unified diff
2717 improve handling of name types which do not exist as taxa (in the area)¶