[
https://issues.jboss.org/browse/DROOLS-1563?page=com.atlassian.jira.plugi...
]
Matteo Mortari commented on DROOLS-1563:
----------------------------------------
In order to more generally address this issue I [proposed a
PR|https://github.com/kiegroup/drools/pull/1269] to align InputData values check using
BaseDMNTypeImpl.isAssignableValue().
To be noticed as reported in the PR that:
* the user could deliberately set an inputdata in the context as null, and this would be a
valid check against the inputdata type. Although this is a deliberate set.
Please notice this is NOT about missing to set an inputdata value in the context at all,
in such case a REQ_NOT_FOUND error is still thrown.
* inputdata type check now obey the same rules as per the remainer of the evaluation type
check and specifically the "special case" of single-value-list-as-singleton is a
valid case. (During [DROOLS-1557] this case was deliberately omitted, at that time it was
discussed to impose being a Collection
[
here|https://github.com/kiegroup/drools/commit/b4a6408a916e210e188b41571d...]
)
Values are always said to be invalid even when the respect the
enumeration
--------------------------------------------------------------------------
Key: DROOLS-1563
URL:
https://issues.jboss.org/browse/DROOLS-1563
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Mélanie Gauthier
Assignee: Matteo Mortari
Attachments: RBLoR test.dmn
When running the attached file which has one input that is a collection of a complex
structure, the constraints on the field is always said to be invalid.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)