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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to