Add entity type to CdmChangeEvent and fixes #5139
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / src / main / java / eu / etaxonomy / taxeditor / navigation / navigator / operation / RemotingDeleteTaxonNodeOperation.java
index 0445bc10bc9f95bf254de4108d08f1036134d578..e1df3bd07e20d6c7474da39d5c043529c026e799 100644 (file)
@@ -63,6 +63,7 @@ public class RemotingDeleteTaxonNodeOperation extends RemotingCdmUpdateOperation
             if(node instanceof TaxonNode) {
                 return CdmApplicationState.getCurrentAppConfig().getTaxonNodeService().deleteTaxonNode(((TaxonNode)node).getUuid(), config);
             } else if(node instanceof Classification) {
+                entityType = Classification.class;
                 return CdmApplicationState.getCurrentAppConfig().getClassificationService().delete(((Classification)node).getUuid());
             }
         } else {