ljmotta opened a new pull request, #3437: URL: https://github.com/apache/incubator-kie-tools/pull/3437
Closes https://github.com/apache/incubator-kie-issues/issues/2243 Closes https://github.com/apache/incubator-kie-issues/issues/2242 ## On this PR - Renaming the InputData will update the DMN Runner form/table without losing the inputs - Renaming a property will update the DMN Runner form/table without losing the inputs - Updating the enum will update the DMN Runner form/table - Fix a bug on DMN Editor where constraints using "allowedValues" weren't updated accordingly. DMN 1.5 spec states that enums should be defined through "typeConstraint" attribute, so even updating an enum that uses the deprecated property "allowedValues" would create this new attribute. With an outdated "allowedValues" and an updated "typeConstraint" attribute, the Open API Schema of the DMN would have a merge between both attributes (old + new). This PR fixes this and updates "allowedValues". --- ## Before ### Renaming Input Data nodes Uploading Screen Recording 2026-02-10 at 22.19.15.mov… ### Updating enums https://github.com/user-attachments/assets/10f88dc2-8cb6-4004-8654-20cc55ad56e5 ## After ### Renaming Input Data nodes https://github.com/user-attachments/assets/1fb24045-5f00-46bf-b744-cc3ecf91a1cb ### Updating enums https://github.com/user-attachments/assets/0480b5df-92fe-4db4-8a0c-17687a00ed63 https://github.com/user-attachments/assets/4ae99995-1b6e-43c3-abf5-18a97615e429 --- Enum.dmn file: [Enum.dmn.txt](https://github.com/user-attachments/files/25222977/Enum.dmn.txt) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
