[jboss-jira] [JBoss JIRA] (DROOLS-2530) DMN Decision Table - wrong evaluation of parameter named "product"
Edson Tirelli (JIRA)
issues at jboss.org
Fri May 11 07:57:01 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli updated DROOLS-2530:
----------------------------------
Sprint: 2018 Week 17-18
> DMN Decision Table - wrong evaluation of parameter named "product"
> ------------------------------------------------------------------
>
> Key: DROOLS-2530
> URL: https://issues.jboss.org/browse/DROOLS-2530
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Affects Versions: 7.5.0.Final, 7.6.0.Final, 7.7.0.Final
> Reporter: David Le Moing
> Assignee: Fedor Gavrilov
> Priority: Critical
> Fix For: 7.8.0.Final
>
> Attachments: product_issue.dmn
>
>
> We have an input named "product" that is used in a decision table.
> We upgraded to Drools 7.7.0.Final and noticed that now, what was evaluated was not the object passed as parameter, but an object of type ProductFunction.
> The same issue is present in version 7.5.0.Final and 7.6.0.Final. It was working fine previously.
> I think the issue is coming from the method getAllValues() of EvaluationContextImpl. Maybe the stack should be reversed before iterating over it and putting the values in the map.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list