Yes, please post a JIRA for that.

2007/8/22, Arjun Dhar <dhar_ar@yahoo.com>:
Test case:

Write a Rule that uses a From clause and on another object does not use a from
clause:
example:
#From row number: 28
rule "Rules_28"

        when
                cntct: Contact(initialized==true)
                config: BooleanConfiguration(value==true) from
meta.getConfiguration(cntct.getClient(), "Param1")
                pref: Relation(contact==cntct, type=="old") or (eval
(false==true)  and not Relation(contact==cntct, origin=="old"))
        then
                             System.out.println("Fired 28");
end

If All 3 are true:
1. Delete Condition 2 --> Rule fires
2. Delete COnditon 3 (But keep 2) --> Rule fires
3. Keep 2 & 3 (with 1) --> Rule does not fire

Whats strage is that conditon 1 does not use from and it works with condition 2
without any problem, but when 2 & 3 are there together the rule does not work.

Please see if it is a bug
Am posting on JIRA

_______________________________________________
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