[
https://issues.jboss.org/browse/DROOLS-1585?page=com.atlassian.jira.plugi...
]
Matteo Mortari updated DROOLS-1585:
-----------------------------------
Description:
In a nested context scenario containing anonymous entry, the type inference resolve to the
parent Decision/BKM node instead of returning the parent ContextEntry where a variable
might actually be defined.
For example in this scenario
!Workspace 1_181.png|thumbnail!
the anonymous entry type inference for the expression {{AgePlus1Minus1 + 0}} is given the
type of the BKM node itself, instead of being inferred as the type for the context entry
"Age".
was:In a nested context scenario containing anonymous entry, the type inference resolve
to the parent Decision/BKM node instead of returning the parent ContextEntry where a
variable might actually be defined.
DMNEvaluatorCompiler wrong type inference for nested context
anonymous entry
----------------------------------------------------------------------------
Key: DROOLS-1585
URL:
https://issues.jboss.org/browse/DROOLS-1585
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Attachments: Workspace 1_181.png
In a nested context scenario containing anonymous entry, the type inference resolve to
the parent Decision/BKM node instead of returning the parent ContextEntry where a variable
might actually be defined.
For example in this scenario
!Workspace 1_181.png|thumbnail!
the anonymous entry type inference for the expression {{AgePlus1Minus1 + 0}} is given the
type of the BKM node itself, instead of being inferred as the type for the context entry
"Age".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)