Project

General

Profile

« Previous | Next » 

Revision 4da12c37

Added by Andreas Kohlbecker over 3 years ago

ref #8317 TaxonNamePopupEditor exAuthor only when != combinationAuthor - detecting duplicates by nomTitle compare

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/TaxonNamePopupEditor.java
640 640
                inferredExAuthor = validatedName.getNomenclaturalReference().getAuthorship();
641 641
            }
642 642
        }
643
        if(inferredExAuthor != null && inferredExAuthor.equals(inferCombinationAuthors())) {
643
        TeamOrPersonBase inferredCominationAuthors = inferCombinationAuthors();
644
        if(inferredExAuthor != null && inferredCominationAuthors != null
645
                // comparing by nomTitle to detect duplicates:
646
                && inferredExAuthor.getNomenclaturalTitle().equals(inferredCominationAuthors.getNomenclaturalTitle())) {
644 647
            // If and only if ex author = author the ex author is not included
645 648
            // into the author teams due to the ICN 46.10. (see #8317)
646 649
            inferredExAuthor = null;

Also available in: Unified diff