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