[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1110) Rules with 'From' condition with another not using From causes problem
Arjun Dhar (JIRA)
jira-events at lists.jboss.org
Mon Dec 10 08:59:07 EST 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1110?page=all ]
Arjun Dhar closed JBRULES-1110.
-------------------------------
Resolution: Cannot Reproduce Bug
No, sorry could not find time to test it properly again to build a case. But I think it happened because the thread on the "from" was taking time to return a result. But even that should; cause the Rete to wait for a result from the 'from' shouldnt it?
Since i cant provide a concrete test case I'll close this. Will re open if and when I find the issue myself.
Thanks for your patience.
> Rules with 'From' condition with another not using From causes problem
> ----------------------------------------------------------------------
>
> Key: JBRULES-1110
> URL: http://jira.jboss.com/jira/browse/JBRULES-1110
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Reteoo, Decision tables
> Affects Versions: 4.0.0.GA
> Environment: Any
> Reporter: Arjun Dhar
> Assigned To: Edson Tirelli
> Fix For: FUTURE
>
>
> 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, type=="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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list