[jboss-jira] [JBoss JIRA] Updated: (JBRULES-744) New elements added to a Shadow Fact's List do not trigger activations on rules using contains

Michael Anstis (JIRA) jira-events at lists.jboss.org
Wed Mar 21 09:48:49 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-744?page=all ]

Michael Anstis updated JBRULES-744:
-----------------------------------

    Attachment: drools-jira.jar

Java source to replicate problem.

> New elements added to a Shadow Fact's List do not trigger activations on rules using contains
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-744
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-744
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1-m1, 3.0.5
>         Environment: Windows XP SP2, Java 1.5
>            Reporter: Michael Anstis
>         Assigned To: Mark Proctor
>         Attachments: drools-jira.jar
>
>
> Example scenario: A Fact X has a property C which is a collection. Rule 1 operates on Fact X and adds (and asserts) a new element Y to collection C. Another Rule 2 which has a pattern "X ( C contains Y) does not get activated. Rules which have a pattern "Y" do activate. See attached example code to replicate.

-- 
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