[jboss-jira] [JBoss JIRA] (DROOLS-3515) [DMN Designer] Validation: Validate button should compile the DMN file and report issues

Jozef Marko (Jira) issues at jboss.org
Thu Jun 20 02:46:00 EDT 2019


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

Jozef Marko updated DROOLS-3515:
--------------------------------
    Description: 
The "validate" button at the top does nit seem to be validating feel expressions:
 !image-2019-01-14-09-24-07-415.png|thumbnail! 

The input of this Decision is a "person" object:
 !image-2019-01-14-09-25-01-777.png|thumbnail! 
and this is the DRG:
 !image-2019-01-14-09-25-16-907.png|thumbnail! 

The validation should say that this literal expression is not valid.

h2. Acceptance test
Validation button should report
- Non existing variable name (/)
- Existing variable name, but not connected (/)
- Invalid operator (+++, &&, ..) (/)
- Unknown keyword (switch) (/)
- Missing argument for function (list contains) (x)
- Non string value (x)
- Non boolean value (x)
- Non number value (x)
- Multiple diagrams opened (/)

  was:
The "validate" button at the top does nit seem to be validating feel expressions:
 !image-2019-01-14-09-24-07-415.png|thumbnail! 

The input of this Decision is a "person" object:
 !image-2019-01-14-09-25-01-777.png|thumbnail! 
and this is the DRG:
 !image-2019-01-14-09-25-16-907.png|thumbnail! 

The validation should say that this literal expression is not valid.

h2. Acceptance test
Validation button should report
- Non existing variable name (/)
- Existing variable name, but not connected (/)
- Invalid operator (+++, &&, ..)
- Unknown keyword (switch)
- Missing argument for function (is contained in)
- Non string value
- Non boolean value
- Non number value
- Non Date value
- Non Duration value
- Multiple diagrams opened



> [DMN Designer] Validation: Validate button should compile the DMN file and report issues
> ----------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3515
>                 URL: https://issues.jboss.org/browse/DROOLS-3515
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.18.0.Final
>            Reporter: Thomas Mantegazzi
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: drools-tools
>         Attachments: image-2019-01-14-09-24-07-415.png, image-2019-01-14-09-25-01-777.png, image-2019-01-14-09-25-16-907.png
>
>
> The "validate" button at the top does nit seem to be validating feel expressions:
>  !image-2019-01-14-09-24-07-415.png|thumbnail! 
> The input of this Decision is a "person" object:
>  !image-2019-01-14-09-25-01-777.png|thumbnail! 
> and this is the DRG:
>  !image-2019-01-14-09-25-16-907.png|thumbnail! 
> The validation should say that this literal expression is not valid.
> h2. Acceptance test
> Validation button should report
> - Non existing variable name (/)
> - Existing variable name, but not connected (/)
> - Invalid operator (+++, &&, ..) (/)
> - Unknown keyword (switch) (/)
> - Missing argument for function (list contains) (x)
> - Non string value (x)
> - Non boolean value (x)
> - Non number value (x)
> - Multiple diagrams opened (/)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list