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/12/22 15:25:07 UTC

(incubator-kie-tools) branch main updated: kie-issues#2198: DMN Editor: Copy and paste of data type property creates non unique copy (#3383)

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 e268656eecd kie-issues#2198: DMN Editor: Copy and paste of data type property creates non unique copy (#3383)
e268656eecd is described below

commit e268656eecd90d17d722b38b5b6eaf798e811029
Author: Kusuma04-dev <ku...@gmail.com>
AuthorDate: Mon Dec 22 20:55:01 2025 +0530

    kie-issues#2198: DMN Editor: Copy and paste of data type property creates non unique copy (#3383)
    
    Co-authored-by: Kusuma <ku...@ibm.com>
---
 packages/dmn-editor/src/dataTypes/ItemComponentsTable.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/dmn-editor/src/dataTypes/ItemComponentsTable.tsx b/packages/dmn-editor/src/dataTypes/ItemComponentsTable.tsx
index ba04829751e..ad368aa1b34 100644
--- a/packages/dmn-editor/src/dataTypes/ItemComponentsTable.tsx
+++ b/packages/dmn-editor/src/dataTypes/ItemComponentsTable.tsx
@@ -211,7 +211,7 @@ export function ItemComponentsTable({
                           type: "DMN16__tDefinitions",
                           attr: "itemDefinition",
                         })
-                        .randomize();
+                        .randomize({ skipAlreadyAttributedIds: false });
 
                       for (const itemDefinition of clipboard.itemDefinitions) {
                         addItemComponent(parent.itemDefinition["@_id"]!, "unshift", itemDefinition);
@@ -615,7 +615,7 @@ export function ItemComponentsTable({
                                             type: "DMN16__tDefinitions",
                                             attr: "itemDefinition",
                                           })
-                                          .randomize();
+                                          .randomize({ skipAlreadyAttributedIds: false });
 
                                         for (const itemDefinition of clipboard.itemDefinitions) {
                                           addItemComponent(dt.itemDefinition["@_id"]!, "unshift", itemDefinition);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org