elsa-workflows / elsa-workflows/elsa-core

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

Open
#4,650 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

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:
- Create a FlowNode and add a activity
- Copy the FlowNode
- Change the destination activity
- Source activity is changed, too

Thank you! Good Work!
regards
Jochen Steinbrenner

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.