[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2206) exists Foo() does not fire if facts inserted before rule

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Mon Jul 13 10:38:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBRULES-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476039#action_12476039 ] 

Edson Tirelli commented on JBRULES-2206:
----------------------------------------

exists() and not(not()) should generate the exact same result. I will investigate. Thanks.

> exists Foo() does not fire if facts inserted before rule
> --------------------------------------------------------
>
>                 Key: JBRULES-2206
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2206
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core  (expert)
>    Affects Versions: 5.0.1.FINAL
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>         Attachments: RuleTester.java, test1.drl, test2.drl
>
>
> Facts of some type Foo are inserted into a StatefulKnowledgeSession, then a rule with LHS exists Foo() is added and fireAllRules() is called, but the rule does not fire.
> If the same is done with the FOP-equivalent rule containing CE not(not Foo()), the rule fires.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list