chore(copy-paste): ensure pasted group has new category value

Relates to camunda/camunda-modeler#1417
This commit is contained in:
Niklas Kiefer 2019-07-01 12:51:07 +02:00 committed by merge-me[bot]
parent b7d6d62184
commit e31c4d13ed
2 changed files with 0 additions and 5 deletions

View File

@ -101,10 +101,6 @@ export default function BpmnCopyPaste(
descriptor.parent = rootElement;
}
if (descriptor.type === 'bpmn:Group') {
newBusinessObject.categoryValueRef = oldBusinessObject.categoryValueRef;
}
if (is(parent, 'bpmn:Lane')) {
descriptor.parent = parent.parent;
}

View File

@ -421,7 +421,6 @@ describe('features/copy-paste', function() {
expect(group).to.exist;
expect(categoryValue).to.exist;
expect(categoryValue.id).to.equal('CategoryValue');
})
);