Hello!<div><br></div><div>Aiming to complete transparency, it would be really nice if one could send #veryDeepCopy to an instance of MagmaCollection (or some object containing it) and get a fresh new MagmaCollection with all the elements deeply copied to it. By default it won&#39;t work because &#39;session&#39; instance variable must not be deeply copied.</div>
<div>As far I understand, one should override #veryDeepInner: and maybe #veryDeepFixupWith: to shallow-copy &#39;sessoin&#39;, and deep-copy everything else, and probably do something more to clear references to the collection begin copied.</div>
<div><br></div><div>I did try to do it, but the semantics of Pharo deep-copy are just too confusing for me. I keep getting &quot;unknown OID&quot; error from magma server.</div><div><br></div><div>I must be doing something wrong.</div>
<div>Any advices, or code? :)<br clear="all"><div><br></div><div><br></div>-- <br>Milan Mimica<br><a href="http://sparklet.sf.net">http://sparklet.sf.net</a><br>
</div>