]
Michael Anstis updated DROOLS-5178:
-----------------------------------
Labels: drools-tools (was: )
[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.