Done, for this one and for the NPE in the (invalid) update call.<br>-W<br><br><div class="gmail_quote">On 5 November 2010 14:58, Edson Tirelli <span dir="ltr"><<a href="mailto:tirelli@post.com">tirelli@post.com</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;"> Wolfgang,<br>
<br>
It seems you are doing a great QA job all around Drools. Thanks.<br>
<br>
Can you open JIRA's for this and the other quirks you've been<br>
finding? We will work on them as we approach the release date.<br>
<br>
Thanks a lot,<br>
Edson<br>
<br>
2010/11/4 Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>>:<br>
<div><div></div><div class="h5">> The .drl:<br>
><br>
> declare Leave<br>
> @role( event )<br>
> @timestamp( timestamp )<br>
> end<br>
><br>
> rule "XXX Leave not !="<br>
> when<br>
> $leave: Leave()<br>
> not Leave( this != $leave )<br>
> then<br>
> System.out.println( "XXX only one Leave - not !=" );<br>
> end<br>
><br>
> rule "YYY Leave not after"<br>
> when<br>
> $leave: Leave()<br>
> not Leave( this before $leave )<br>
> then<br>
> System.out.println( "YYY only one Leave - not before" );<br>
> end<br>
><br>
><br>
> A) The pseudo-clock is advanced according to the timestamp; then<br>
> exactly one event Leave is inserted; then fireAllRules() is called.<br>
><br>
> 1) Running in CLOUD mode, both rules fire.<br>
> 2) But running in STREAM mode, ONLY rule XXX fires.<br>
><br>
> B) Like A, but the session clock is advanced by (at least) 1ms<br>
> prior to calling fireAllRules().<br>
><br>
> 3) Either mode, both rules fire.<br>
><br>
> I think that A2) is incorrect; why should passing another msec change the<br>
> logic?<br>
><br>
> JIRA?<br>
><br>
> Wolfgang<br>
><br>
><br>
><br>
><br>
</div></div><div class="im">> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a 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>