[jboss-jira] [JBoss JIRA] (DROOLS-2411) For loop using filter in iteration context

Matteo Mortari (JIRA) issues at jboss.org
Fri Mar 23 06:51:00 EDT 2018


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

Matteo Mortari resolved DROOLS-2411.
------------------------------------
    Resolution: Rejected


> For loop using filter in iteration context
> ------------------------------------------
>
>                 Key: DROOLS-2411
>                 URL: https://issues.jboss.org/browse/DROOLS-2411
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>         Attachments: image-2018-03-21-16-48-52-704.png, image-2018-03-21-16-49-14-236.png, image-2018-03-21-16-49-30-158.png, image-2018-03-21-16-50-08-712.png
>
>
> In the following model:
>  !image-2018-03-21-16-48-52-704.png! 
> for the following input:
>  !image-2018-03-21-16-49-14-236.png! 
> with number being:
>  !image-2018-03-21-16-49-30-158.png! 
> The following expression works:
> {code:java}
> for m in my input.numbers return ceiling(m)
> {code}
> returning:
>  !image-2018-03-21-16-50-08-712.png! 
> But these other expressions fail:
> {code:java}
> for m in my input[name="asd"].numbers return ceiling(m)
> for m in my input[item.name="asd"].numbers return ceiling(m)
> {code}



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


More information about the jboss-jira mailing list