Please do.
2007/9/25, Cristiano Giuffrida <cristiano.giuffrida(a)gmail.com>:
Thanks,
I just opened a JIRA:
http://jira.jboss.com/jira/browse/JBRULES-1219
Should I open a JIRA for the following problem, too?
http://www.nabble.com/org.drools.base.accumulators.CountAccumulateFunctio...
Regards,
CG
On 9/11/07, Edson Tirelli <tirelli(a)post.com> wrote:
>
>
> Yes,
>
> This is a bug in the DSL engine. May I ask you please to open a JIRA?
>
> Thank you,
> Edson
>
>
> 2007/9/11, pentarious < cristiano.giuffrida(a)gmail.com>:
> >
> >
> > Hi,
> > I'm using the following DSL:
> > [when]There are at least {N} objects in the
> > domain=Number(intValue>={N})
> > from accumulate ( i : Object(), count( i ) )
> > [when]- category is {Category}=category== "{Category}"
> >
> > Using the above DSL from Drools BRMS leads to the following result
> > (rule
> > source code):
> > Number(intValue>=10) from accumulate ( i : Object(), count( i,
> > category=="CATEGORY") )
> >
> > Of course this is not the expected behavior. This should lead to
> > something
> > like:
> > Number(intValue>=10) from accumulate ( i :
> > Object(category=="CATEGORY"),
> > count( i) )
> >
> > I have no such a problem when using the same approach with a collect
> > statement, i.e. the following source code is generated:
> > ArrayList() from collect ( Object(category=="CATEGORY") )
> >
> > Is it a bug?
> >
> > Regards,
> >
> > CG
> > --
> > View this message in context:
http://www.nabble.com/Using-DSL-and-accumulate-in-Drools-BRMS-leads-to-un...
> >
> > Sent from the drools - user mailing list archive at
Nabble.com.
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
>
> --
> Edson Tirelli
> Software Engineer - JBoss Rules Core Developer
> Office: +55 11 3529-6000
> Mobile: +55 11 9287-5646
> JBoss, a division of Red Hat @
www.jboss.com
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @