kiegroup / kie-tooling-store

5 stars 5 forks source link

DMN Editor - inconsistencies with object expressions in decision table output #79

Open benpattavios opened 3 years ago

benpattavios commented 3 years ago

Hi all, I've come across a strange niche bug in decision table behaviour. Taking a simple DMN file with a user-defined object: simple-dmn data-type

I define a decision table in a business knowledge model, and use an expression as the output, by deleting one of the output columns and changing the datatype: pre saving

All is well, but if I save, close and reopen the DMN I find: post saving

Perhaps I've done something wrong, but these expressions are useful for outputs such as lists or complex objects. And I experience no problems if I wrap the decision table in a context: context

manstis commented 3 years ago

@karreiro FYI @ederign Could you please assign to Guilherme.

karreiro commented 3 years ago

Thank you for reporting it, @benpattavios!

It's a strange issue indeed, but unfortunately, it's a known bug, and you may keep track of the resolution here: KOGITO-5491.

Also, the team is working on this and other enhancements in a new boxed expression editor. So, you may expect it solved soon.

Thanks again for reporting it!

benpattavios commented 3 years ago

Sure, thanks for the response @karreiro! I'll keep an eye on that issue