<br>   Chris,<br><br>   I was not able to reproduce this problem in trunk. Nevertheless, I added one more integration test for it. If you are able to reproduce it, please create a test case and open a JIRA and I will check it out.<br>
<br>$ svn commit -m &quot;Adding integration test&quot; drools-compiler/src/test/java/org/drools/Person.java drools-compiler/src/test/java/org/drools/integrationte<br>sts/MiscTest.java drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintConnectorOr.drl<br>
Sending        drools-compiler/src/test/java/org/drools/Person.java<br>Sending        drools-compiler/src/test/java/org/drools/integrationtests/MiscTest.java<br>Adding         drools-compiler/src/test/resources/org/drools/integrationtests/test_ConstraintConnectorOr.drl<br>
Transmitting file data ...<br>Committed revision 28549.<br><br>   []s<br>   Edson<br><br><div class="gmail_quote">2009/7/28 Chris Gibble <span dir="ltr">&lt;<a href="mailto:cgibble@excite.com">cgibble@excite.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font style="font-size: 10pt;">
<p>My apologies if this has already been answered elsewhere -- I searched and could not find it.</p>
<p>I have a java class that takes this form (simplified for purposes of this discussion):</p>
<p>public class MyClass()<br>
{<br>
   public boolean isHappy();<br>
   public boolean isHealthy();<br>
}</p>
<p>I have a rule that looks like this:</p>
<p>rule &quot;Some rule&quot;<br>
    salience 100<br>
    when<br>
         $obj : MyClass(happy == true || healthy == true)<br>
    then<br>
          // Do something with $obj<br>
end rule</p>
<p> </p>
<p>In Drools 4.x, this rule would perform the conclusion when either MyClass.isHappy() returned true or MyClass.isHealthy() returned true, but not if both were false.</p>
<p>In Drools 5.0.1, this rule would perform the conclusion <u>always</u> -- regardless of the values of isHappy() or isHealthy().</p>
<p>Any ideas what&#39;s going on?  Is this a known problem, or is there something wrong with my syntax and/or class?</p>
<p> </p>
<p>Thanks for any help you can give -- and I can give a more concrete example if need be.</p></font>
<hr style="border-style: solid none none; border-color: grey -moz-use-text-color -moz-use-text-color; border-width: thin 0px 0px; margin-top: 15px; padding-top: 5px;"><table border="0" cellpadding="0" cellspacing="0" height="58" width="500">
 
<tbody><tr> 
   
    <td align="center" valign="center" width="92px"><img border="0"></td>
    
  <td valign="center"> 
     
    <table border="0" cellpadding="0" cellspacing="0"> 
      <tbody><tr> 
        <td rowspan="3">  </td> 
        <td><span><a href="http://tagline.excite.com/fc/FgElN1gz4wwE6UWjuk9HgExVihsl6SoJRYkCYdqtuEKvZKZG6s3cKDjBdiI/" style="text-decoration: underline; font-size: 12pt; font-family: Arial; color: green;" target="_blank">Bamboo Flooring</a></span></td>
 
      </tr> 
      <tr> 
        <td><span><a href="http://tagline.excite.com/fc/FgElN1gz4wwE6UWjuk9HgExVihsl6SoJRYkCYdqtuEKvZKZG6s3cKDjBdiI/" style="text-decoration: none; font-size: 8pt; font-family: Arial; color: black;" target="_blank">The strong, silent type. Click here for great looking bamboo flooring!</a></span></td>
 
      </tr> 
      <tr> 
        <td><span><a href="http://tagline.excite.com/fc/FgElN1gz4wwE6UWjuk9HgExVihsl6SoJRYkCYdqtuEKvZKZG6s3cKDjBdiI/" style="text-decoration: underline; font-size: 8pt; font-family: Arial; color: rgb(253, 0, 0);" target="_blank">Click Here For More Information</a></span></td>
 
      </tr> 
    </tbody></table> 
  </td> 
</tr> 
<tr> 
  <td colspan="2"> 
</td> 
</tr> 
</tbody></table><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>
<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>