Project

General

Profile

« Previous | Next » 

Revision 8f1d102f

Added by Patrick Plitzner almost 6 years ago

ref #5458 Fix class cast exception

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/DistributionSettingsConfigWindow.java
240 240
                taxonNode = CdmSpringContextHelper.getTaxonNodeService().load(((UuidAndTitleCache<TaxonNode>)taxonTree.getValue()).getUuid());
241 241
            }
242 242
            if(taxonNode==null){
243
                taxonNode = (TaxonNode) classificationBox.getValue();
243
                String uuidString = (String) classificationBox.getContainerProperty(classificationBox.getValue(),"uuid").getValue();
244
                UUID uuid = UUID.fromString(uuidString);
245
                taxonNode = CdmSpringContextHelper.getClassificationService().load(uuid).getRootNode();
244 246
            }
245 247
            term = (TermVocabulary<NamedArea>) distAreaBox.getValue();
246 248
            Set<NamedArea> selectedAreas = (Set<NamedArea>) namedAreaList.getValue();

Also available in: Unified diff