]
Jozef Marko commented on DROOLS-4020:
-------------------------------------
[~tari_manga] Thank you a lot for your help with investigation. I removed your screenshot
by mistake. However I reassigned this to drools-tools scrum team.
[DMN Designer] Literal expression variable name is missing
----------------------------------------------------------
Key: DROOLS-4020
URL:
https://issues.jboss.org/browse/DROOLS-4020
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.22.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Blocker
Labels: drools-tools
Attachments: Screenshot from 2019-05-15 10-56-00.png, reusable (1).dmn,
tournament.zip
The DMN Designer generates empty variable name for literal expressions.
Current state:
{code}
<dmn:decision id="_9AF9596C-BA60-4C45-9531-F6B6FD7BC008"
name="constant">
<dmn:variable id="_782DDC9C-8B8B-4D18-9711-40634A46864C"
name="" typeRef="string"/>
<dmn:literalExpression id="_F7C245A2-9CE3-4CFE-AAD5-D6B98C502CE9">
<dmn:text>"abc"</dmn:text>
</dmn:literalExpression>
</dmn:decision>
{code}
Expected state:
{code:xml}
<dmn:decision id="_9AF9596C-BA60-4C45-9531-F6B6FD7BC008"
name="constant">
<dmn:variable id="_782DDC9C-8B8B-4D18-9711-40634A46864C"
name="constant" typeRef="string"/>
<dmn:literalExpression id="_F7C245A2-9CE3-4CFE-AAD5-D6B98C502CE9">
<dmn:text>"abc"</dmn:text>
</dmn:literalExpression>
</dmn:decision>
{code}