Copy then Multiple Paste problem

There is a problem when you copy one element and paste it multiple times in workflow editor surface.

Steps to Reproduce:

  1. Go to the demo page http://demo.bpmn.io/new
  2. Use CTRL + C to copy the Start Node
  3. Use CTRL + V to paste the node 3 times
  4. Save the diagram to local storage
  5. Load the saved diagram from local storage

Expected results:

  • The Diagram has 4 Start Nodes

Actual results:

  • The Diagram only has 2 nodes
  • Only the last paste operation was persited

Please provide the diagram you are copying and a reference to the exact notes to be copied so we can reproduce it.

Edit: Never mind, I can reproduce it myself. We’ll look into it.

1 Like

Any updates on this issue ?

We don’t generate proper IDs on multi-paste right now (cf. bpmn-io/bpmn-js#686).

Fix is scheduled.

1 Like