adapt service call to model change
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Jun 2015 13:50:09 +0000 (15:50 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Jun 2015 13:50:09 +0000 (15:50 +0200)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/operation/DeleteTaxonOperation.java

index 8fc759d88cdb2ac4485414ac0721a15f514f4a37..8c51e6668ce76e28b8280aeee42a13a4fdcca6b2 100644 (file)
@@ -65,7 +65,7 @@ public class DeleteTaxonOperation extends DeleteTaxonBaseOperation{
                                ITaxonService service = controller.getTaxonService();\r
 \r
 \r
-                               DeleteResult result =   service.deleteTaxon(element.getUuid(), configurator, classification);\r
+                               DeleteResult result =   service.deleteTaxon(element.getUuid(), configurator, classification.getUuid());\r
                                if (result.isError()){\r
                                        MessageDialog.openError(null, "Delete failed", result.toString());\r
                                } else if (!result.getUpdatedObjects().isEmpty()){\r