MessagingUtils.errorDialog("Aggregation failed", this, "Aggregation was not successfull", TaxeditorEditorPlugin.PLUGIN_ID, (Exception)resultObject, true, true);
}
else if(resultObject instanceof UpdateResult){
+ DescriptiveDataSet dataSet = (DescriptiveDataSet) ((UpdateResult) resultObject).getCdmEntity();
+ dataSet = matrix.getCdmEntitiySession().load(dataSet, true);
+ // update local dataset
+ matrix.setDescriptiveDataSet(dataSet);
matrix.loadDescriptions(descriptiveDataSetUuid);
}
} catch (InterruptedException e) {
.stream().map(ex->ex.toString())
.collect(Collectors.joining("\n"))));
}
- DescriptiveDataSet dataset = (DescriptiveDataSet) result.getCdmEntity();
+ DescriptiveDataSet dataSet = (DescriptiveDataSet) result.getCdmEntity();
+ dataSet = matrix.getCdmEntitiySession().load(dataSet, true);
// update local dataset
- matrix.setDescriptiveDataSet(dataset);
+ matrix.setDescriptiveDataSet(dataSet);
matrix.loadDescriptions(descriptiveDataSetUuid);
}
} catch (InterruptedException e) {