[jboss-jira] [JBoss JIRA] (DROOLS-3289) [DMN Designer] Default Output Value typeRef

Michael Anstis (Jira) issues at jboss.org
Fri Nov 9 07:26:01 EST 2018


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

Michael Anstis commented on DROOLS-3289:
----------------------------------------

[~jomarko] [~tirelli] I've asked https://github.com/kiegroup/kie-wb-common/pull/2256 to set the _default_ {{typeRef}} to {{<Undefined>}}.

This will make every DMN element have a {{null}} {{typeRef}} by default in the XML unless explicitly set by the User. This will mean where we currently have an _erroneous_ {{typeRef}} on some elements (e.g. "output" and "default output entry") it will now be excluded all together and be inherited from its parent element where such is explicitly defined. 

> [DMN Designer] Default Output Value typeRef
> -------------------------------------------
>
>                 Key: DROOLS-3289
>                 URL: https://issues.jboss.org/browse/DROOLS-3289
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>            Reporter: Jozef Marko
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: drools-tools
>
> If the default output value of decision table is set, its {{typeRef}}  doesn't respect its parent {{typeRef}}, example below.
> {code:xml}
> <dmn:output id="_8023A5BD-71A4-4C3F-A5B9-B62D5BC34345" name="output-1" typeRef="number">
>         <dmn:outputValues id="_C9AEC57C-1F1E-4115-9449-F287F010EA07">
>           <dmn:text>456</dmn:text>
>         </dmn:outputValues>
>         <dmn:defaultOutputEntry id="_36F46818-D5F9-4F58-A758-73B853EC418B" typeRef="string">
>           <dmn:text>123</dmn:text>
>         </dmn:defaultOutputEntry>
>       </dmn:output>
> ...
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list