Just out of curiosity, if you change your "modify" block and use an "updeat" instead, does it work?<div>Something like:</div><div><br></div><div><span style>$myObject.setVariable1(defaultValue)</span><span style>;</span></div>
<div><font color="#222222" face="arial, sans-serif">update($myObject);</font></div><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Best Regards,<br clear="all">
</font><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Thu, Feb 16, 2012 at 5:14 PM, Vakimshaar <span dir="ltr"><<a href="mailto:jean.logeart@gmail.com">jean.logeart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's not what is in the doc:<br>
<br>
<br>
Documentation wrote<br>
><br>
> All operators have normal Java semantics except for == and !=.<br>
> The == operator has null-safe equals() semantics:<br>
> // Similar to: java.util.Objects.equals(person.getFirstName(), "John")<br>
> // so (because "John" is not null) similar to:<br>
> // "John".equals(person.getFirstName())<br>
> Person( firstName == "John" )<br>
><br>
<br>
And still, actually the MyObject class is actually wrapper to the<br>
ActualObject class. The getters and setters are basically simple wrapped.<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/ConsequenceException-when-using-modify-tp3750604p3750755.html" target="_blank">http://drools.46999.n3.nabble.com/ConsequenceException-when-using-modify-tp3750604p3750755.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<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></div>