Revision 4ca412d5
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonNodeWizard.java | ||
---|---|---|
118 | 118 |
return CdmStore.getService(IClassificationService.class).load(treeNode.getUuid()); |
119 | 119 |
} |
120 | 120 |
else if(treeNode instanceof TaxonNode){ |
121 |
List<String> propertyPaths = new ArrayList<String>(); |
|
122 |
propertyPaths.add("taxon"); |
|
123 |
propertyPaths.add("taxon.sec"); |
|
124 |
TaxonNode node = CdmStore.getService(ITaxonNodeService.class).load(treeNode.getUuid(), propertyPaths); |
|
125 |
//Taxon taxon = (Taxon) CdmStore.getService(ITaxonService.class).load(node.getTaxon().getUuid()); |
|
121 |
|
|
122 |
TaxonNode node = CdmStore.getService(ITaxonNodeService.class).load(treeNode.getUuid()); |
|
123 |
Taxon taxon = (Taxon) CdmStore.getService(ITaxonService.class).load(node.getTaxon().getUuid()); |
|
126 | 124 |
return node; |
127 | 125 |
} |
128 | 126 |
} |
Also available in: Unified diff
fix #5607: add sec reference to property path solves the problem of not reload the right sec reference