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

Accumulate with nested field binding has bad type inference

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 5.3.1.Final
    • None

    Description

      (I'm completely new to Drools, so bear with me as I try to describe this)

      When a rule specifies an accumulate CE containing a variable bound to a nested field expression, the inferred type of the variable is incorrect. I have attached a pull request containing a unit test that is broken by this bug. If I make the nested class' field private and add a getter for it, the test passes.

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            hltbdivl_jira Adar Dembo (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Archived:

              PagerDuty