<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 09/12/2010 14:50, Wolfgang Laun wrote:
<blockquote
cite="mid:AANLkTinQ2cqs-oxoizN0P_0OsuOu5Afq8gyaWGWt_fNd@mail.gmail.com"
type="cite">I can confirm that the timer rule continues to fire<br>
- if the condition contains a not CE<br>
- even after the not CE should return false<br>
<br>
Repeating timer firing stops for "positive" CEs turning to false.<br>
</blockquote>
sounds like a bug :(<br>
<br>
Wolfgang, could you commit your test to TimerAndCalendarTest. Take a
look at the tests there and follow a similar format, generally when
there is only one or two small rules we prefer to inline the text
rather than externalise it in a file, see testIntervalTimer<br>
<br>
So that it doesn't break hudson add FIXME to the start of the rule
name, such as<br>
FIXME_testTimerWithNot<br>
<br>
Ideally open a jira and when you commit the code put the jira id in
the commit messgae along with the jira title and a message something
like "adding failing unit test"<br>
<br>
Thanks<br>
<br>
Mark<br>
<blockquote
cite="mid:AANLkTinQ2cqs-oxoizN0P_0OsuOu5Afq8gyaWGWt_fNd@mail.gmail.com"
type="cite">
<br>
-W<br>
<br>
<br>
<div class="gmail_quote">On 9 December 2010 15:06, OlliSee <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:o.roess@seeburger.de">o.roess@seeburger.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
<br>
Thanks,<br>
unfortunately not working, either.<br>
<br>
Maybe it will help, if I describe the scenario more detailed.<br>
<br>
I have three A facts inserted at the beginning.<br>
Then the rule fires the first time after 5 seconds for every A
fact and<br>
inserts the B events.<br>
Then I retract ONE of the B events, but the rule keeps firing
for EVERY A<br>
fact, despite the B events remaining in the WorkingMemory.<br>
<font color="#888888">--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools-java-rules-engine.46999.n3.nabble.com/timer-and-duration-tp2057403p2057831.html"
target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/timer-and-duration-tp2057403p2057831.html</a><br>
</font>
<div class="im">Sent from the Drools - User mailing list
archive at Nabble.com.<br>
_______________________________________________<br>
</div>
<div>
<div class="h5">rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>