use uuid instead of entities for specimen selection
authorKatja Luther <k.luther@bgbm.org>
Wed, 26 Feb 2020 09:14:58 +0000 (10:14 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 26 Feb 2020 09:14:58 +0000 (10:14 +0100)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/SpecimenSelectionDialog.java

index 09226bd49786d854f809e4cab201f019818eec17..cad993010e7b16e83257efbfee543643983bddf9 100644 (file)
@@ -193,7 +193,7 @@ public class SpecimenSelectionDialog extends Dialog {
     }
 
     private void loadSpecimens(){
-        ArrayList<SpecimenNodeWrapper> specimenList = new ArrayList<>(CdmStore.getService(IDescriptiveDataSetService.class).loadSpecimens(matrix.getDescriptiveDataSet()));
+        ArrayList<SpecimenNodeWrapper> specimenList = new ArrayList<>(CdmStore.getService(IDescriptiveDataSetService.class).loadSpecimens(matrix.getDescriptiveDataSet().getUuid()));
         Collections.sort(specimenList, new Comparator<SpecimenNodeWrapper>() {
 
             @Override