[jboss-jira] [JBoss JIRA] (DROOLS-1679) FEEL list filter returns empty collection when there are errors evaluating filter

Tibor Zimányi (JIRA) issues at jboss.org
Tue Jul 25 11:01:00 EDT 2017


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

Tibor Zimányi commented on DROOLS-1679:
---------------------------------------

Reproducer can be found here: 
https://github.com/kiegroup/drools/pull/1385/files#diff-3ba9c3a76276fe521cfda3310fdb7507R73

> FEEL list filter returns empty collection when there are errors evaluating filter
> ---------------------------------------------------------------------------------
>
>                 Key: DROOLS-1679
>                 URL: https://issues.jboss.org/browse/DROOLS-1679
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>    Affects Versions: 7.1.0.Final
>            Reporter: Tibor Zimányi
>            Assignee: Edson Tirelli
>            Priority: Minor
>             Fix For: 7.2.0.Final
>
>
> When having this FEEL list with filter which is incorrect: 
> {code:java}
> ["a", "b", "c"][a]
> {code}
> the evaluation returns an empty list instead of null. Output of this test is here: 
> https://gist.github.com/baldimir/18232741fdf1b425ba84d00d83edb939
> I will provide PR with a reproducer today. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list