[jboss-jira] [JBoss JIRA] (JBRULES-3332) Accumulate with nested field binding has bad type inference

Mark Proctor (JIRA) jira-events at lists.jboss.org
Mon Apr 2 00:09:47 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor reassigned JBRULES-3332:
-------------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)

    
> Accumulate with nested field binding has bad type inference
> -----------------------------------------------------------
>
>                 Key: JBRULES-3332
>                 URL: https://issues.jboss.org/browse/JBRULES-3332
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.3.1.Final
>            Reporter: Adar Dembo
>            Assignee: Edson Tirelli
>
> (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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list