[jboss-jira] [JBoss JIRA] (DROOLS-5178) [DMN Designer] Generate unnecessary typerRef on output tag

Michael Anstis (Jira) issues at jboss.org
Wed Mar 18 12:23:08 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis updated DROOLS-5178:
-----------------------------------
    Story Points: 3
          Sprint: 2020 Week 10-12 (from Mar 2)


> [DMN Designer] Generate unnecessary typerRef on output tag
> ----------------------------------------------------------
>
>                 Key: DROOLS-5178
>                 URL: https://issues.redhat.com/browse/DROOLS-5178
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.34.0.Final
>            Reporter: Michael Anstis
>            Assignee: Michael Anstis
>            Priority: Minor
>              Labels: drools-tools
>         Attachments: SampleModel2.dmn, screenshot-1.png
>
>
> Step to reproduce the problem:
> 1. Create a simple decision node with input: string output: string
> 2. Implement the decision node ad a table
> it generates this DMN:  [^SampleModel2.dmn] 
> the validation engine says 
> bq. "WARNING","[_95E9A8C2-34B5-453A-AAF2-9C8BDB092A03] DMN: Decision table with single output on node 'Decision-1' should not have an output type reference (DMN id: _95E9A8C2-34B5-453A-AAF2-9C8BDB092A03, The referenced element should not have a typeref set) ","SampleModel2.dmn","0","0"
> In fact, the dmn contains the following line:
> {code:xml}
> <dmn:output id="_95E9A8C2-34B5-453A-AAF2-9C8BDB092A03" typeRef="string"/>
> {code}
> removing the {{typeRef="string"}} the validation warning disappear.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list