fix #8037: set microrefence correctly
authorKatja Luther <k.luther@bgbm.org>
Wed, 30 Jan 2019 12:35:20 +0000 (13:35 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 30 Jan 2019 12:40:21 +0000 (13:40 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java

index 2a74539663fab75a242a89ef619491db4fe6bfba..aed88cd4c579800defb1f170b113d1ad001f402d 100644 (file)
@@ -280,7 +280,7 @@ public class TaxonNodeDetailElement extends AbstractCdmDetailElement<TaxonNode>
         }else if (eventSource == selection_SecRef) {
             taxon.setSec(selection_SecRef.getEntity());
         }else if (eventSource == microReference) {
-            getEntity().setMicroReference(microReference.getText());
+            taxon.setSecMicroReference(microReference.getText());
         }  else if (eventSource == checkbox_publish) {
             taxon.setPublish(checkbox_publish.getSelection());
         }