[jboss-jira] [JBoss JIRA] (DROOLS-661) Accumulate functions using join variables are not reevaluated

Davide Sottara (JIRA) issues at jboss.org
Sat Dec 6 16:14:39 EST 2014


Davide Sottara created DROOLS-661:
-------------------------------------

             Summary: Accumulate functions using join variables are not reevaluated
                 Key: DROOLS-661
                 URL: https://issues.jboss.org/browse/DROOLS-661
             Project: Drools
          Issue Type: Bug
    Affects Versions: 6.2.0.CR2, 6.0.1.Final
            Reporter: Davide Sottara
            Assignee: Mark Proctor
             Fix For: 6.2.0.Final


{code}
Tick( $index : tick ) 
accumulate ( $data : Data(),
                     $tot : sum( $data.values[ $index ] ) ) 
{code}

The engine ignores the fact that "$index" in the acc function is a join
variable, so it does not re-evaluate the function on a left update



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list