elsa-workflows / elsa-studio

A modular, extensible dashboard application framework
MIT License
185 stars 88 forks source link

Copy and pasted activity is not saved #318

Open ningsun71 opened 2 weeks ago

ningsun71 commented 2 weeks ago

I have a workflow with nested ForEach activity.

image

If I copy and paste an activity from the root level to the innermost ForEach activity and click the save button. The UI displays the message indicating the workflow is saved. However, when I refresh the page, the copied activity does not appear in the innermost ForEach component.

This does not happen consistently, but more than 50% of the time. I have confirmed that, the JSON string received by the backend does not contain the copy and pasted activity.

sfmskywalker commented 4 days ago

I can confirm that something's fishy.

sfmskywalker commented 4 days ago

What I am seeing is that when I add the third nested ForEach activity and then go back one or two levels, then try to drill into the nested ForEach activities, the 3rd one disappeared.