[rules-users] BUG: Can't build a rete network with an inner OR group element
Wolfgang Laun
wolfgang.laun at gmail.com
Thu Nov 28 07:06:34 EST 2013
Why don't you move
$y: Year( ) from $o.data
up in front of the accumulate?
-W
On 28/11/2013, braveheart85 <andrea.pacifico.85 at gmail.com> wrote:
> Hello guys,
>
> I have just obtained this DroolsRuntimeException when i perform this rule:
>
> $result : Number( ) from accumulate
> (
> ($y: Year( ) from $o.data) &&
> (Family( $relatives : relative ) from $y.familyEntity),
> init( double total = 0; ),
> action( total += $relatives.size(); ),
> reverse( total -= $relatives.size(); ),
> result( total ) )
>
> I saw that this is a known bug in version 5.3.0. I'm developing with 5.5.0
> Final.
>
> Exists any workaround or version 5.6.0 resolve this bug?
>
> Best regards
> Andrea
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-inner-OR-group-element-tp4026974.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list