[jboss-jira] [JBoss JIRA] (DROOLS-3116) [DMN Designer] Literal Expression is not saved
Michael Anstis (Jira)
issues at jboss.org
Thu Oct 11 14:55:01 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-3116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646940#comment-13646940 ]
Michael Anstis commented on DROOLS-3116:
----------------------------------------
[~jomarko] Yes indeed; and I have wondered why the marshalling code chooses to treat empty {{LiteralExpressions}} as not existing.
The cause is [this|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-backend/src/main/java/org/kie/workbench/common/dmn/backend/definition/v1_1/ExpressionPropertyConverter.java#L31]. I've re-assigned to [~tari_manga] for an explanation.
Personally, I think empty {{LiteralExpressions}} should be preserved when marshalling to XML and the runtime validation should report such scenarios as an error (or warning) and not _drop_ all together.
[~tirelli] FYI too.
> [DMN Designer] Literal Expression is not saved
> ----------------------------------------------
>
> Key: DROOLS-3116
> URL: https://issues.jboss.org/browse/DROOLS-3116
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.13.0.Final
> Reporter: Jozef Marko
> Assignee: Matteo Mortari
> Priority: Blocker
> Labels: drools-tools
>
> Literal Expression of decision node is not saved.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list