Sorry it was my fault, the reason is the same bug i submitted a while ago, there are two conditions with an eval and the DSL Parser makes in 4.0.3 again:
eval(firstcondition, eval(secondcondition)) Cheers Markus 2007/10/25, Edson Tirelli <[EMAIL PROTECTED]>: > > I see nothing wrong then. Can you show me the whole rule? > > []s > Edson > > > 2007/10/25, Markus Helbig <[EMAIL PROTECTED] >: > > sorry it is: > > > > item : Item(eval(Factory.getList().contains(id))) > > > > > > 2007/10/24, Edson Tirelli <[EMAIL PROTECTED]>: > > > > > > You can't bind a variable to an eval. > > > > > > []s > > > Edson > > > > > > 2007/10/24, Markus Helbig < [EMAIL PROTECTED]>: > > > > > > > > Hi > > > > > > > > rule > > > > when > > > > item : eval(Factory.getList().contains(id)) > > > > then > > > > end > > > > > > > > resolves into > > > > > > > > [10/24/07 17:50:55:636 CEST] 00000030 SystemErr R > > > > org.drools.rule.InvalidRulePackage: Rule Compilation > > > error : [Rule > > > > name=Rule1, agendaGroup=MAIN, salience=30, no-loop=false] > > > > package/Rule_Rule1_0.java (13:756) : The method eval(boolean) is > > > > undefined for the type Rule_Rule1_0 > > > > > > > > what does it mean? > > > > > > > > Cheers > > > > > > > > Markus > > > > _______________________________________________ > > > > rules-users mailing list > > > > rules-users@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@lists.jboss.org > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > > > _______________________________________________ > > rules-users mailing list > > rules-users@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users