Commit 5399fa85 authored by Romain Bioteau's avatar Romain Bioteau
Browse files

fix(data) update data throws classcast exception in edit mode

Closes STUDIO-3609
parent e0899c8b
......@@ -212,6 +212,7 @@ public class DataWizard extends Wizard implements IBonitaVariableContext {
protected RefactorDataOperation createRefactorOperation(final TransactionalEditingDomain editingDomain, final Data workingCopy) {
final RefactorDataOperation op = new RefactorDataOperation(RefactoringOperationType.UPDATE);
op.setEditingDomain(editingDomain);
dataUpdater.editWorkingCopy(workingCopy);
op.setUpdater(dataUpdater);
op.addItemToRefactor(workingCopy, originalData);
op.setDataContainer((DataAware) container);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment