[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2295) Negation does not work propertly with events of positive duration

Maciej Prochniak (JIRA) jira-events at lists.jboss.org
Mon Oct 12 07:44:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maciej Prochniak updated JBRULES-2295:
--------------------------------------

    Attachment: NotDuringFailTest.java


Unit test showing specified behaviour

> Negation does not work propertly with events of positive duration 
> ------------------------------------------------------------------
>
>                 Key: JBRULES-2295
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2295
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core, drools-core (fusion)
>    Affects Versions: 5.1.0.M1
>            Reporter: Maciej Prochniak
>            Assignee: Mark Proctor
>         Attachments: NotDuringFailTest.java
>
>
> when using rules such as 'during' with negation, the rules fires immediately.  e.g.
> rule Test
> when
>   $a : A()
>   not B(this during $a)
> then 
> ...
> end
> Even if A has positive duration, the rule fires just after A is inserted into working memory

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