[jboss-jira] [JBoss JIRA] (DROOLS-2359) DMN DecisionTable output validation when type is a collection

Matteo Mortari (JIRA) issues at jboss.org
Thu Mar 1 08:11:01 EST 2018


    [ https://issues.jboss.org/browse/DROOLS-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540175#comment-13540175 ] 

Matteo Mortari commented on DROOLS-2359:
----------------------------------------

Additionally, if defining the type as:
 !screenshot-3.png!

the following Decision table:
 !screenshot-4.png!  

regardless of [DROOLS-2151] throw an error because not considering each element in the result {{["abc", "xyz"]}} against the List of Value, but directly the whole resulting feel:list against each of the allowed value in the LOV.

> DMN DecisionTable output validation when type is a collection
> -------------------------------------------------------------
>
>                 Key: DROOLS-2359
>                 URL: https://issues.jboss.org/browse/DROOLS-2359
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>         Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png
>
>
> Given the following type:
>  !screenshot-1.png! 
> and the following Decision Table:
>  !screenshot-2.png! 
> it return error because it tries to validate {{["abc", "xyz"]}} as a feel:string type, without awareness of collection.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list