Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2559

Problem with Collect statement from a source that is a previous declaration after an OR'd group in MVEL dialect

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.0.M2
    • Fix Version/s: 5.1.0.CR1
    • Component/s: drools-core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tirelli Edson Tirelli
                  Reporter:
                  cdelashmutt Chris DeLashmutt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: