[jboss-jira] [JBoss JIRA] (DROOLS-661) Accumulate functions using join variables are not reevaluated
Mario Fusco (JIRA)
issues at jboss.org
Mon Dec 15 06:30:29 EST 2014
[ https://issues.jboss.org/browse/DROOLS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-661.
--------------------------------
Resolution: Done
Fixed by https://github.com/droolsjbpm/drools/commit/4cbc25b15c706b9ae40625138a2b0b09a07c5a86
> 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.0.1.Final, 6.2.0.CR2
> Reporter: Davide Sottara
> Assignee: Mario Fusco
> 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.11#6341)
More information about the jboss-jira
mailing list