elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
6.06k stars 1.1k forks source link

Copy containers (FlowNodes, ForEach, ...), container activities not copied... #4650

Open JochenSteinbrenner opened 7 months ago

JochenSteinbrenner commented 7 months ago

Good morning, At the moment, within 3.0.0-preview.727, during copy of a container the activities are not copied. They have the same IDs as the activities from the source container. Now, if I change the activities within the source container, the activities in the destination container are changed, too (and vice versa). This can easily lead to an unexpected behaviour of the workflow.

I am not sure if the current behaviour is by design or not. For me a copy, should copy the whole thing.

Repro Steps:

Thank you! Good Work! regards Jochen Steinbrenner

sfmskywalker commented 7 months ago

Hello,

Thank you for bringing this issue to our attention. After testing, we have confirmed that the issue you described is not reproducible in the latest version of Elsa Studio (Blazor), specifically in version 148. It appears that the updates and fixes in this version have addressed the problem you encountered.

Additionally, I'd like to inform you that the StencilJS implementation of Elsa Studio is being deprecated. We recommend migrating to the Blazor implementation for the most stable and up-to-date experience with Elsa Studio.

Thank you!