Change merge to standard call for new taxon node
authorCherian Mathew <c.mathew@bgbm.org>
Mon, 5 Oct 2015 15:50:00 +0000 (17:50 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Mon, 5 Oct 2015 15:50:00 +0000 (17:50 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java

index 7cbc1e76d0fcce6278a3b0c43e398776f40a2d89..a792ed4d3c5da5a9b02325a61fc53c8ef6079145 100644 (file)
@@ -54,7 +54,7 @@ public class NewTaxonNodeWizard extends AbstractNewEntityWizard<ITaxonTreeNode>{
             try{
                 TaxonNode taxonNode = parent.addChildTaxon(taxon, parent.getReference(), parent.getMicroReference());
                 if(CdmStore.getCurrentSessionManager().isRemoting()) {
-                    taxonNode = CdmStore.getService(ITaxonNodeService.class).merge(taxonNode, true);
+                    taxonNode = CdmStore.getService(ITaxonNodeService.class).merge(taxonNode);
                 } else {
                     taxonNode = CdmStore.getService(ITaxonNodeService.class).save(taxonNode);
                 }