[jboss-jira] [JBoss JIRA] (DROOLS-3261) [DMN Designer] The `defaultOutputValue` is being persisted as an `outputValue`

Jozef Marko (Jira) issues at jboss.org
Thu Nov 8 02:31:00 EST 2018


    [ https://issues.jboss.org/browse/DROOLS-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658597#comment-13658597 ] 

Jozef Marko edited comment on DROOLS-3261 at 11/8/18 2:30 AM:
--------------------------------------------------------------

Michael sorry reopening due to [~tirelli] last comment above. Default output value is stored when non empty, however for empty case we produce [1] instead of [2] what [~tirelli] says is correct.

[1]
{code:xml}
<dmn:defaultOutputEntry id="_E1A734A1-62A4-4290-AA4D-0B3D9548F79B" typeRef="string">
  <dmn:text></dmn:text>
</dmn:defaultOutputEntry>
{code}

[2]
{code:xml}
<dmn:defaultOutputEntry />
{code}

[~tirelli] one more question from me, shouldn't be {{<defaultOutputEntry typeRef>}} same as its parent {{<output typeRef>}}? Currently we have {{string}} as {{typeRef}} for {{defaultOutputEntry}} regardless of {{output typeRef}}.


was (Author: jomarko):
Michael sorry reopening due to [~tirelli] last comment above. Default output value is stored when non empty, however for empty case we produce [1] instead of [2] what [~tirelli] says is correct.

[1]
{code:xml}
<dmn:defaultOutputEntry id="_E1A734A1-62A4-4290-AA4D-0B3D9548F79B" typeRef="string">
  <dmn:text></dmn:text>
</dmn:defaultOutputEntry>
{code}

[2]
{code:xml}
<dmn:defaultOutputEntry />
{code}

[~tirelli] one more question from me, shouldn't be {<defaultOutputEntry typeRef>} same as its parent {<output typeRef>}? Currently we have {string} as {typeRef} for {defaultOutputEntry} regardless of {output typeRef}.

> [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