That solved it. Thanks<br><br>Hernán<br><br><div class="gmail_quote">2009/6/17 Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.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;">
<div class="im">&gt; The code looks like this:<br>
&gt;<br>
&gt; | collection |<br>
&gt;<br>
&gt; self session begin.<br>
&gt; collection:=  self root at: self tempKey put: MagmaCollection new.<br>
&gt; self  indexes do:[:each | collection addIndex: each ].<br>
&gt; self session commit<br>
<br>
</div>You&#39;re sharing the index objects themselves between the two<br>
collections.  Disaster!  Don&#39;t do that.  Adding a &quot;each copy&quot; should<br>
be fine..<br>
<font color="#888888"><br>
 - Chris<br>
</font></blockquote></div><br>