<div><br></div><div>   I think Mark was playing with enums. If you don&#39;t mind submitting your test, we should add it to the codebase to prevent this regression in the future. At least it is fixed in HEAD and we should also check the fix was backported to 5.2.x branch.</div>
<div><br></div><div>   Thanks for reporting,</div><div>    Edson</div><div><br></div><div>PS: I like the 5.2 results though... it is more concise... ;)</div><br><br><div class="gmail_quote">2011/7/27 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Given the following rule replicated for enums EDay.SUNDAY through EDay.THURSDAY and<br>a single DummyTester fact starting with EDay.SUNDAY.<br>
rule &quot;Sunday&quot;<br>  when<br>    $dt:  DummyTester(EDay.SUNDAY == day)<br>
  then<br>    System.out.println(&quot;RULE: entered rule: &quot;+drools.getRule().getName());    <br>    modify ($dt) {setDay(EDay.MONDAY)};      <br>end<br><br>On 5.1.1 and using HEAD:<br>RULE: entered rule: Sunday<br>
RULE: entered rule: Monday<br>
RULE: entered rule: Tuesday<br>RULE: entered rule: Wednsday<br>RULE: entered rule: Thursday<br><br>On 5.2<br>RULE: entered rule: Thursday<br>RULE: entered rule: Wednsday<br><br>Who knows how this was fixed?<br><br>Regards<br>
<font color="#888888">
-W<br><br>
</font><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>