You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by th...@apache.org on 2025/10/02 21:03:20 UTC
(incubator-kie-tools) branch main updated: DMN Editor: Copy of a Decision Service causes trouble to edges where target or source node is in the Decision Service (#3290)
This is an automated email from the ASF dual-hosted git repository.
thiagoelg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 5ec173af1d8 DMN Editor: Copy of a Decision Service causes trouble to edges where target or source node is in the Decision Service (#3290)
5ec173af1d8 is described below
commit 5ec173af1d83bd2baf7519a5c8c9061d392ac6d1
Author: Aswathi <as...@ibm.com>
AuthorDate: Fri Oct 3 02:33:15 2025 +0530
DMN Editor: Copy of a Decision Service causes trouble to edges where target or source node is in the Decision Service (#3290)
---
packages/dmn-editor/src/clipboard/Clipboard.ts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/dmn-editor/src/clipboard/Clipboard.ts b/packages/dmn-editor/src/clipboard/Clipboard.ts
index 1691d52f85a..1b8bb07f811 100644
--- a/packages/dmn-editor/src/clipboard/Clipboard.ts
+++ b/packages/dmn-editor/src/clipboard/Clipboard.ts
@@ -165,7 +165,9 @@ export function buildClipboardFromDiagram(rfState: RF.ReactFlowState, dmnEditorS
continue;
}
- accNode(decisionNode);
+ if (!selectedNodesById.has(decisionNode.id)) {
+ accNode(decisionNode);
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org