Project

General

Profile

« Previous | Next » 

Revision 374696fa

Added by Andreas Kohlbecker about 6 years ago

ref #6740 TypeDesignationSetManager switched from workingsetid to baseReference

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetEditorPresenter.java
119 119

  
120 120
            TypeDesignationWorkingsetEditorIdSet idset = (TypeDesignationWorkingsetEditorIdSet)identifier;
121 121

  
122
            if(idset.workingsetId != null){
123
                workingSetDto = specimenTypeDesignationWorkingSetService.loadDtoByIds(idset.registrationId, idset.workingsetId);
122
            if(idset.baseEntityRef != null){
123
                workingSetDto = specimenTypeDesignationWorkingSetService.loadDtoByIds(idset.registrationId, idset.baseEntityRef);
124 124
                if(workingSetDto.getFieldUnit() == null){
125 125
                    workingSetDto = specimenTypeDesignationWorkingSetService.fixMissingFieldUnit(workingSetDto);
126 126
                        // FIXME open Dialog to warn user about adding an empty fieldUnit to the typeDesignations

Also available in: Unified diff