[jboss-jira] [JBoss JIRA] (DROOLS-5017) DMN Validation does not provide a proper descriptive error message
Matteo Mortari (Jira)
issues at jboss.org
Thu Feb 6 07:36:00 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965322#comment-13965322 ]
Matteo Mortari commented on DROOLS-5017:
----------------------------------------
The validator reports the following messages:
{code:java}
Message [id=0, level=WARNING, path=null, line=108, column=-1
text=DMN: Variable name contains leading or traling spaces 'Base Vacation Days ' on node 'Base Vacation Days ' (DMN id: _34B27FCC-31C7-419B-85D4-63F8E6B8DD71, The listed name is not a valid FEEL identifier) ]
Message [id=0, level=WARNING, path=null, line=137, column=-1
text=DMN: Decision table with single output on node 'Extra days case 1' should not have an output type reference (DMN id: _0CD749C5-FABA-4A0C-9AAF-C44AC9D19CE2, The referenced element should not have a typeref set) ]
Message [id=0, level=WARNING, path=null, line=77, column=-1
text=DMN: Decision table with single output on node 'Extra days case 3' should not have an output type reference (DMN id: _F385BCF6-3C6E-464A-B5D8-8B74F0985421, The referenced element should not have a typeref set) ]
Message [id=0, level=WARNING, path=null, line=24, column=-1
text=DMN: Decision table with single output on node 'Extra days case 2' should not have an output type reference (DMN id: _5F5AF524-E9FF-4DC4-8609-18093C4D1C47, The referenced element should not have a typeref set) ]
{code}
> DMN Validation does not provide a proper descriptive error message
> ------------------------------------------------------------------
>
> Key: DROOLS-5017
> URL: https://issues.redhat.com/browse/DROOLS-5017
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.32.0.Final
> Reporter: Duncan Doyle
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot 2020-02-06 at 11.25.18.png, vacation-days.dmn
>
>
> The attached DMN file is invalid as it contains a trailing space in one of its decision nodes (Base Vacation Days). I've checked with [~tari_manga], and according to him, the backend DMN validator is capable of detecting the problem and giving a proper error message. However the DMN editor in the workbench does not give any user friendly hint what the problem is, and hence it's almost impossible for a user to figure out what's wrong.
> I've attached both the DMN model and a screenshot of the error message displayed by our editor.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list