fix #5607: add sec reference to property path solves the problem of not reload the...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / newWizard / NewTaxonNodeWizard.java
index 51980556fa8d8c63bd8de9f345d81a2525077c45..97a54b97676bf03afdae8179251c46e4755f6b00 100644 (file)
@@ -118,11 +118,9 @@ public class NewTaxonNodeWizard extends AbstractNewEntityWizard<ITaxonTreeNode>{
                     return CdmStore.getService(IClassificationService.class).load(treeNode.getUuid());
                 }
                 else if(treeNode instanceof TaxonNode){
-                       List<String> propertyPaths = new ArrayList<String>();
-                       propertyPaths.add("taxon");
-                       propertyPaths.add("taxon.sec");
-                       TaxonNode node =  CdmStore.getService(ITaxonNodeService.class).load(treeNode.getUuid(), propertyPaths);
-                       //Taxon taxon = (Taxon) CdmStore.getService(ITaxonService.class).load(node.getTaxon().getUuid());
+                       
+                       TaxonNode node =  CdmStore.getService(ITaxonNodeService.class).load(treeNode.getUuid());
+                       Taxon taxon = (Taxon) CdmStore.getService(ITaxonService.class).load(node.getTaxon().getUuid());
                     return node;
                 }
             }