Revision de6b6edb
Added by Katja Luther over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java | ||
---|---|---|
72 | 72 |
if (status == null){ |
73 | 73 |
notes = null; |
74 | 74 |
} |
75 |
result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxon, source, parent.getMicroReference(), |
|
75 |
if (taxonNodePage.getExistingTaxon() != null){ |
|
76 |
result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxonNodePage.getExistingTaxon().getUuid(), null, null); |
|
77 |
}else{ |
|
78 |
result = CdmStore.getService(ITaxonNodeService.class).createNewTaxonNode(parent.getUuid(), taxon, source, parent.getMicroReference(), |
|
76 | 79 |
status, notes); |
80 |
} |
|
77 | 81 |
|
78 | 82 |
if (result.isOk()){ |
79 | 83 |
this.setEntity((TaxonNode)result.getCdmEntity()); |
Also available in: Unified diff
fix #9365: fix reuse taxon in newTaxonNodeWizard