#5056 Adapt editor to service layer 'save' method refactoring in cdmlib
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / TaxonEditorInput.java
index 5452a0458934f0005106036673d3807183766aed..d0a7b205caa42da4894b53c89c0fb1db7ec9b52c 100644 (file)
@@ -196,7 +196,7 @@ public class TaxonEditorInput implements IEditorInput, IConversationEnabled, IPe
                TaxonNode newTaxonNode = parentNode.addChildTaxon(newTaxon, parentNode.getReference(), parentNode.getMicroReference());
 
                // add the new taxon to the editors persistence context
-               UUID newTaxonNodeUuid = CdmStore.getService(ITaxonNodeService.class).save(newTaxonNode);
+               UUID newTaxonNodeUuid = CdmStore.getService(ITaxonNodeService.class).save(newTaxonNode).getUuid();
 
                return new TaxonEditorInput(newTaxonNode, conversation);
     }