]
Michael Anstis moved RHDM-1293 to DROOLS-5178:
----------------------------------------------
Project: Drools (was: Red Hat Decision Manager)
Key: DROOLS-5178 (was: RHDM-1293)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Component/s: DMN Editor
(was: Decision Central)
Environment: (was: Business Central)
Affects Version/s: 7.34.0.Final
(was: 7.6.0.GA)
QE Status: NEW
[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.