[
https://jira.jboss.org/browse/JBRULES-2559?page=com.atlassian.jira.plugin...
]
Chris DeLashmutt commented on JBRULES-2559:
-------------------------------------------
Following etirelli's lead in the fix for JBRULES-2482, I added a replaceDeclaration to
MVELDataProvider, and made LogicTransformer call it when it seems a From element.
However, now the problem I'm seeing is that the rule is activating twice! Continuing
to investigate.
Problem with Collect statement from a source that is a previous
declaration after an OR'd group in MVEL dialect
---------------------------------------------------------------------------------------------------------------
Key: JBRULES-2559
URL:
https://jira.jboss.org/browse/JBRULES-2559
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core
Affects Versions: 5.1.0.M2
Reporter: Chris DeLashmutt
Assignee: Mark Proctor
Attachments: patch.txt
When using a Collect statement that is sourced from a nested property of a bound pattern
and it follows an OR'd group of evals, the bound pattern seems to be pointing to the
wrong object in the tuple. I have attached a diff for drools-compiler that includes a new
test case in FirstOrderLogicTest and DRL that exhibits this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira