ref #8263 Adapt to hotfix version of cdmlib
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / editor / definedterm / TermDtoContentProvider.java
index bb77dd5ee7d1645fc14138b91282c1b1f72af060..7a6306c6c53d83194ce6ecf3d89e59b637665d3f 100644 (file)
@@ -90,7 +90,7 @@ public class TermDtoContentProvider extends TreeNodeContentProvider {
     public Collection<? extends TermDto> getChildTerms(TermVocabularyDto voc) {
         Collection<TermDto> children = vocabularyToChildTermMap.get(voc);
         if(children==null){
-            children = new ArrayList<>(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy(voc));
+            children = new ArrayList<>(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy(voc.getUuid()));
             vocabularyToChildTermMap.put(voc, children);
         }
         return children;