[jboss-jira] [JBoss JIRA] (DROOLS-3261) [DMN Designer] The `defaultOutputValue` is being persisted as an `outputValue`
Edson Tirelli (Jira)
issues at jboss.org
Wed Nov 7 20:56:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658562#comment-13658562 ]
Edson Tirelli commented on DROOLS-3261:
---------------------------------------
Michael, just to double check, when the "outputValues" is empty, it should not show up at all in the XML. So the XML you showed:
{code:xml}
<dmn:output id="_AF6071D7-C010-4B8B-9A06-F8B2AE0BE8BB" name="output-1" typeRef="string">
<dmn:outputValues id="_6FF95B64-CCF5-4349-BCE7-30A0015B0291">
<dmn:text></dmn:text>
</dmn:outputValues>
<dmn:defaultOutputEntry id="_24A04D8F-CAAC-4144-A011-06F086D53088" typeRef="string">
<dmn:text>cheese</dmn:text>
</dmn:defaultOutputEntry>
</dmn:output>
{code}
Should actually be:
{code:xml}
<dmn:output id="_AF6071D7-C010-4B8B-9A06-F8B2AE0BE8BB" name="output-1" typeRef="string">
<dmn:defaultOutputEntry id="_24A04D8F-CAAC-4144-A011-06F086D53088" typeRef="string">
<dmn:text>cheese</dmn:text>
</dmn:defaultOutputEntry>
</dmn:output>
{code}
> [DMN Designer] The `defaultOutputValue` is being persisted as an `outputValue`
> ------------------------------------------------------------------------------
>
> Key: DROOLS-3261
> URL: https://issues.jboss.org/browse/DROOLS-3261
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Michael Anstis
> Priority: Blocker
> Labels: drools-tools
> Fix For: 7.14.0.Final
>
> Attachments: diagram.png, dtable.png
>
>
> When the user persists the following diagram:
> !diagram.png|thumbnail!
> ..with the following Decision Table:
> !dtable.png|thumbnail!
> .. select the "Can drink beer?" header, set the default value as {{false}} and the file:
> {quote}
> <dmn:outputValues id="_A117F7DC-508C-4132-8F5F-8F8F2B0B489F">
> <dmn:text>false</dmn:text>
> </dmn:outputValues>
> <dmn:defaultOutputEntry id="_A4881AD1-7EDC-4B4D-AC00-078626795BA7" typeRef="string">
> <dmn:text></dmn:text>
> </dmn:defaultOutputEntry>
> {quote}
> ..and the expected behaviour is to persist the value {{false}} in the {{defaultOutputEntry}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list