ref #5670: updating parent node when changing node in taxonnodewizard
authorKatja Luther <k.luther@bgbm.org>
Fri, 5 Mar 2021 12:03:30 +0000 (13:03 +0100)
committerKatja Luther <k.luther@bgbm.org>
Fri, 5 Mar 2021 12:04:16 +0000 (13:04 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/defaultHandler/e4/DefaultOpenTaxonNodeWizardHandlerE4.java

index 86849a95f6c39d207d2323e33a8efea1d89c4415..af21951d15fb602bb5d16876cbaaefab0ff58776 100644 (file)
@@ -69,7 +69,7 @@ public class DefaultOpenTaxonNodeWizardHandlerE4 extends DefaultOpenHandlerBaseE
         if (result == Window.OK){
 //            entity = CdmStore.getService(ITaxonNodeService.class).dto(entity.getUuid());
             entity = new TaxonNodeDto(taxonNodeWizard.getEntity());
-            EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAVIGATOR, entity);
+            EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAVIGATOR, taxonNodeWizard.getEntity().getParent());
             EventUtility.postEvent(WorkbenchEventConstants.REFRESH_NAME_EDITOR, entity.getTaxonUuid());
         }