<br> To be able to really help, we need a way to reproduce the problem, like a self-contained test case. The reason is that we have 1700+ tests today and none of them is catching the scenario you are talking about. So, it is possible that there is a bug and we need to fix it, but we need a way to narrow the search space for it.
<br><br> Thanks,<br> Edson<br><br><div><span class="gmail_quote">2007/12/21, Guardian <<a href="mailto:d.h.j.@gmx.de">d.h.j.@gmx.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="DE">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I will try to specify my
problem:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I think every insert()-action
leads to a refresh of the agenda. The same should be happen if an object would
be retracted, but it don't. </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">There are 10 objects in
the workingMemory and in this constellation no rules will be fired. This is the
expected behaviour and the agenda is empty. Now I retract 2 objects from the
workingMemory. I proofed that the 2 objects are deleted from the workingMemory.
Afterwards fireallrules() is executed and the rule should be fired, but the
agenda is also empty. </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">The rule is tested: it works.
When I insert only 8 objects at the beginning everything works fine. </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks a lot</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Dennis Jansen</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Von:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users-bounces@lists.jboss.org</a>] <b><span style="font-weight: bold;">Im
Auftrag von </span></b>Edson Tirelli<br>
<b><span style="font-weight: bold;">Gesendet:</span></b> Dienstag, 18. Dezember
2007 12:05<br>
<b><span style="font-weight: bold;">An:</span></b> Rules Users List<br>
<b><span style="font-weight: bold;">Betreff:</span></b> Re: [rules-users]
retract() problem</span></font></p>
</div><div><span class="e" id="q_116fc6aa5d554683_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
You did not provided enough information on this for us to help. <br>
NOT and EXIST are existential CE and reason over presence or
absence of facts and they work fine.<br>
<br>
[]s<br>
Edson<br>
<br>
</span></font></p>
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2007/12/18, Guardian <<a href="mailto:d.h.j.@gmx.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">d.h.j.@gmx.de</a>
>:</span></font></span></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi all, <br>
The problem is, if i retract some objects (EJB3.0 entities) from my<br>
workingMemory the agenda wont´t be refreshed. There are rules that should be<br>
fired if the objects are retracted from the workingMemory, but nothing <br>
happens.<br>
<br>
Thanks,<br>
Dennis Jansen<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
Office: +55 11 3529-6000<br>
Mobile: +55 11 9287-5646<br>
JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.jboss.com</a>
</span></font></p>
</span></div></div>
</div>
<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646
<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>