[
https://issues.redhat.com/browse/DROOLS-5280?page=com.atlassian.jira.plug...
]
Tracy Hires commented on DROOLS-5280:
-------------------------------------
Yes, you're right. I see that the dmn spec in v1.3 made it clear that the FEEL that
I've expected to work is not supported. I had missed both the update in the dmn spec
and that the reported version of the dmn engine comforms with v1.3. (I'm not positive
whether that semantic did work in earlier versions of the redhat dmn engine, but I suspect
it did, as I remember finding the automatic conversion of a singleton list to a single
instance to be a convenient shorthand) Thank you for taking the time to offer a complete
explanation.
List Filter expression returning single item and nested within
arithmetic expression fails to evaluate
------------------------------------------------------------------------------------------------------
Key: DROOLS-5280
URL:
https://issues.redhat.com/browse/DROOLS-5280
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.34.0.Final, 7.36.0.Final
Reporter: Tracy Hires
Assignee: Matteo Mortari
Priority: Major
Attachments: MySpace_Relation.zip, screenshot-1.png, screenshot-2.png,
screenshot-3.png
the expression `addend + listOfStructure[field1="some value"].numberField`,
where `field1="some value"` filters `listOfStructure` to a single item and
`addend` and `numberField` are both non-null numbers, fails to evaluate. It's possible
to work around this by placing `listOfStructure[field1="some value"]` into a
separate decision.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)