[jboss-jira] [JBoss JIRA] (DROOLS-451) Timed rules, different name, same timer, same LHS, different RHS, one mask the other

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Apr 2 12:57:13 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12958605#comment-12958605 ] 

RH Bugzilla Integration commented on DROOLS-451:
------------------------------------------------

Mario Fusco <mfusco at redhat.com> changed the Status of [bug 1083669|https://bugzilla.redhat.com/show_bug.cgi?id=1083669] from NEW to ASSIGNED
                
> Timed rules, different name, same timer, same LHS, different RHS, one mask the other
> ------------------------------------------------------------------------------------
>
>                 Key: DROOLS-451
>                 URL: https://issues.jboss.org/browse/DROOLS-451
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.1.Final
>            Reporter: Matteo Mortari
>            Assignee: Mark Proctor
>         Attachments: 2014-03-11_18-52-25.png, 20140311.drools6test.timerrulessamelhs.zip
>
>
> Consider the following KB:
> {code}
> rule "Dummy timer rule 1"
> timer (cron: 0 0 0 * * ?)
> when
> 	Integer()
> then
> 	insert("Dummy timer rule 1");
> 	System.out.println("Dummy timer rule 1");
> end
> rule "Dummy timer rule 2"
> timer (cron: 0 0 0 * * ?)
> when
> 	Integer()
> then
> 	insert("Dummy timer rule 2");
> 	System.out.println("Dummy timer rule 2");
> end
> {code}
> Then consider the following steps:
> # insert new Integer
> # advance clock by +1 day
> *Expected result:* 3 facts in the working memory, the original Integer, and two String.
> *Actual results:* 2 facts in the working memory, the original Integer, and only 1 String, from the former of the two rules.
> I hope this is not another duplicate report, I've done search on Jira before submitting, but kindly excuse me if I didn't found an already open bug which is a greater case of this one =)
> I will attach relevant source code to replicate the issue, and related material

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list