diff --git a/lib/features/copy-paste/BpmnCopyPaste.js b/lib/features/copy-paste/BpmnCopyPaste.js index 3e7522a2..19418c7b 100644 --- a/lib/features/copy-paste/BpmnCopyPaste.js +++ b/lib/features/copy-paste/BpmnCopyPaste.js @@ -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; } diff --git a/test/spec/features/copy-paste/BpmnCopyPasteSpec.js b/test/spec/features/copy-paste/BpmnCopyPasteSpec.js index 66f90e33..75c484fe 100644 --- a/test/spec/features/copy-paste/BpmnCopyPasteSpec.js +++ b/test/spec/features/copy-paste/BpmnCopyPasteSpec.js @@ -421,7 +421,6 @@ describe('features/copy-paste', function() { expect(group).to.exist; expect(categoryValue).to.exist; - expect(categoryValue.id).to.equal('CategoryValue'); }) );