Revision f572c5c1
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/e4/TaxonEditorInputE4.java | ||
---|---|---|
136 | 136 |
Taxon taxon = CdmBase.deproxy(taxonBase, Taxon.class); |
137 | 137 |
setInitiallySelectedTaxonBase(taxon); |
138 | 138 |
|
139 |
if (taxon.getTaxonNodes().size() == 0 && taxon.isMisapplication()){
|
|
139 |
if ( (taxon.isMisapplication() || taxon.isProparteSynonym())&& (taxon.getTaxonNodes().size() >0 || taxon.getRelationsFromThisTaxon().size() > 1)){
|
|
140 | 140 |
// TODO get accepted taxon |
141 | 141 |
MessagingUtils.info(Messages.TaxonEditorInput_OPEN_MISSAPPLIED_NAME); |
142 | 142 |
|
... | ... | |
147 | 147 |
acceptedTaxa.add(relation.getToTaxon()); |
148 | 148 |
} |
149 | 149 |
} |
150 |
if (taxon.getTaxonNodes().size() > 0){ |
|
151 |
acceptedTaxa.add(taxon); |
|
152 |
} |
|
150 | 153 |
setInputForRelatedTaxa(conversation, acceptedTaxa); |
151 | 154 |
|
152 | 155 |
}else{ |
Also available in: Unified diff
fix #7500: adapt chooseAcceptedTaxon dialog also for taxa used as taxon and misapplication/proparte synonym