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 . I manually set each copied objects new parent like so: source_obj_name = str(source_obj.__name__)[:] newobj = zope.copy.clone(source_obj) newobj.__name__ = source_obj_name newobj.__parent__ = target_obj but this doesn't seem to solve the issue. Any thoughts as to what I'm not doing ? The source of the trace below: Module zope.location.traversing:235 in getParents >> raise TypeError("Not enough context information to get all parents")TypeError: Not enough context information to get all parents |
_______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
