Project

General

Profile

« Previous | Next » 

Revision 71dd7444

Added by Patrick Plitzner almost 5 years ago

ref #8263 Adapt to hotfix version of cdmlib

  • temporary commit for hotfix which will be reverted in develop because the cdmlib service method already sets the term vocabulary DTO

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/TermDtoContentProvider.java
90 90
    public Collection<? extends TermDto> getChildTerms(TermVocabularyDto voc) {
91 91
        Collection<TermDto> children = vocabularyToChildTermMap.get(voc);
92 92
        if(children==null){
93
            children = new ArrayList<>(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy(voc));
93
            children = new ArrayList<>(CdmStore.getService(IVocabularyService.class).getCompleteTermHierarchy(voc.getUuid()));
94 94
            vocabularyToChildTermMap.put(voc, children);
95 95
        }
96 96
        return children;

Also available in: Unified diff