This is an automated email from the ASF dual-hosted git repository.

tiagobento 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 b56fd85a92c kie-issues#1842: DMN Editor does not distinguish original 
and copied data type (#2921)
b56fd85a92c is described below

commit b56fd85a92ca7fee5c05fe3e771cb891cc19e8bc
Author: Daniel José dos Santos <[email protected]>
AuthorDate: Fri Feb 21 20:11:32 2025 -0300

    kie-issues#1842: DMN Editor does not distinguish original and copied data 
type (#2921)
---
 packages/dmn-editor/src/dataTypes/DataTypes.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/dmn-editor/src/dataTypes/DataTypes.tsx 
b/packages/dmn-editor/src/dataTypes/DataTypes.tsx
index fa4ea17a36b..57551a6b931 100644
--- a/packages/dmn-editor/src/dataTypes/DataTypes.tsx
+++ b/packages/dmn-editor/src/dataTypes/DataTypes.tsx
@@ -163,7 +163,7 @@ export function DataTypes() {
           type: "DMN15__tDefinitions",
           attr: "itemDefinition",
         })
-        .randomize();
+        .randomize({ skipAlreadyAttributedIds: false });
 
       for (const itemDefinition of clipboard.itemDefinitions) {
         addTopLevelItemDefinition(itemDefinition);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to