Revision 3fede6d9
Added by Katja Luther over 2 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/handler/CreateTaxonDescriptionHandler.java | ||
---|---|---|
44 | 44 |
TaxonNodeDto node = (TaxonNodeDto) matrixPart.getSelection().getFirstElement(); |
45 | 45 |
TaxonRowWrapperDTO taxonRowWrapperDTO = CdmStore.getService(IDescriptiveDataSetService.class) |
46 | 46 |
.createTaxonDescription(descriptiveDataSet.getUuid(), node.getUuid(), getDescriptionType()); |
47 |
matrixPart.getMatrix().getCdmEntitySession().load(taxonRowWrapperDTO.getDescription(), true); |
|
47 |
// matrixPart.getMatrix().getCdmEntitySession().load(taxonRowWrapperDTO.getDescription(), true);
|
|
48 | 48 |
matrixPart.getMatrix().getDescriptions().add(taxonRowWrapperDTO); |
49 | 49 |
matrixPart.getMatrix().layout(); |
50 | 50 |
} |
Also available in: Unified diff
ref #9843: only update descriptions coming with result of aggregation