]
Matteo Mortari reassigned DROOLS-2125:
--------------------------------------
Assignee: Matteo Mortari (was: Edson Tirelli)
Lists as unary tests should be checked for containment, not equality
--------------------------------------------------------------------
Key: DROOLS-2125
URL:
https://issues.jboss.org/browse/DROOLS-2125
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.4.1.Final
Reporter: Edson Tirelli
Assignee: Matteo Mortari
Fix For: 7.5.0.Final
When a list is set as a value in a unary test, it should be checked for containment.
Currently the engine checks for equality.
E.g.: in a decision table, if the input expression is "bob" and the input entry
in a row is listOfNames, the engine should check if "bob" is an element
contained in listOfNames.