<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">After copying some container objects using zope.copy.clone the objects that have been copied as well as those which have been copied into are no longer supporting calls involving __parent__ and getParents .&nbsp;</span>I manually set each copied objects new parent like so:</div><div><br></div><div><div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;source_obj_name = str(source_obj.__name__)[:]</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;newobj = zope.copy.clone(source_obj)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;newobj.__name__ = source_obj_name</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;newobj.__parent__ = target_obj</div></div></div><div><br></div><div>but this doesn't seem to solve the issue. Any thoughts as to what I'm not doing ? The source of the<span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">&nbsp;trace below:</span></div><div><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; "><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">Module&nbsp;<span class="module" title="/usr/local/lib/python2.6/dist-packages/zope.location-3.9.0-py2.6.egg/zope/location/traversing.py">zope.location.traversing</span>:<b>235</b>&nbsp;in&nbsp;<code>getParents</code>&nbsp;<a href="http://74.207.245.42:8090/jbcnle/locations/campus_east#" class="switch_source" tbid="173150332" style="color: rgb(0, 153, 0); text-decoration: none; ">&nbsp; &nbsp;&nbsp;<img border="0" width="9" height="9" id="0c00bf9e-2e5a-4ccf-8cea-576e097c9206" apple-width="yes" apple-height="yes" src="cid:8D2DB661-EEB1-455A-8FAE-44E18C231032@domain_not_set.invalid">&nbsp;&nbsp; &nbsp;</a><br><code class="source" source-type="short" style="color: rgb(0, 0, 102); "><a class="switch_source" href="http://74.207.245.42:8090/jbcnle/locations/campus_east#" style="color: rgb(0, 153, 0); text-decoration: none; ">&gt;&gt;&nbsp;&nbsp;</a><font color="#0000AF"><b>raise</b></font>&nbsp;<font color="#333333">TypeError</font><b>(</b><font color="#A0008A">"Not enough context information to get all parents"</font><b>)</b></code><br><b>TypeError: Not enough context information to get all parents</b></span></div><div><br></div><div><br></div></body></html>