[rules-users] using forall with from

Edson Tirelli tirelli at post.com
Sat Mar 14 14:39:31 EDT 2009


   Yes, JBRULES-1611. I just fixed this and committed to revision #25650. It
will be in the next release.

   []s
   Edson


2009/3/14 Mark Proctor <mproctor at codehaus.org>

>  Garrett Conaty wrote:
>
> I've got an odd parse case that I'm hoping the parser wizards could confirm
> is the same as the bug JBRULES-1611:
>
> This works
>
> not (exists (Event(eval
> (eventDate.after(CalendarUtil.getDateDaysPast(30)))) from $room.events))
>
>
> but this doesn't
>
> forall( Event(eval (eventDate.before(CalendarUtil.getDateDaysPast(30))))
> from $room.events )
>
> It's like doing math proofs all over again.  Technically I think I've got
> to fix the logic because !< is >-= rather than >.
>
> I believe there is already a JIIRA for saying that 'from' doesn't work with
> 'forall'
>
>
> Thanks,
> Garrett
>
>
>
> ------------------------------
>
> _______________________________________________
> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090314/963056c4/attachment.html 


More information about the rules-users mailing list