Revision fdc04187
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/matrix/CharacterMatrix.java | ||
---|---|---|
121 | 121 |
import ca.odell.glazedlists.SortedList; |
122 | 122 |
import ca.odell.glazedlists.TreeList; |
123 | 123 |
import eu.etaxonomy.cdm.api.application.CdmApplicationState; |
124 |
import eu.etaxonomy.cdm.api.service.IDescriptionService; |
|
124 | 125 |
import eu.etaxonomy.cdm.api.service.IProgressMonitorService; |
125 | 126 |
import eu.etaxonomy.cdm.api.service.IWorkingSetService; |
126 | 127 |
import eu.etaxonomy.cdm.api.service.dto.RowWrapperDTO; |
... | ... | |
873 | 874 |
List<DescriptionElementBase> matchingDescriptionElements = new ArrayList<>(); |
874 | 875 |
|
875 | 876 |
for (SpecimenDescription specimenDescription : (Set<SpecimenDescription>) wrapper.getSpecimen().getDescriptions()) { |
877 |
specimenDescription = (SpecimenDescription) CdmStore.getService(IDescriptionService.class).load(specimenDescription.getUuid()); |
|
876 | 878 |
Set<Feature> specimenDescriptionFeatures = new HashSet<>(); |
877 | 879 |
//gather specimen description features and check for match with WS features |
878 | 880 |
for (DescriptionElementBase specimenDescriptionElement : specimenDescription.getElements()) { |
Also available in: Unified diff
ref #7095 Re-load specimen description to avoid multi rep exception