Commit 573a826a authored by Amos Latteier's avatar Amos Latteier

Fixed a bug in manage_clone thanks to Tom Scheidt. The cloned object was not...

Fixed a bug in manage_clone thanks to Tom Scheidt. The cloned object was not being returned in its acquisition context. This caused permission problems when trying to perform operations on it.
parent 5f3cf2cd
......@@ -83,7 +83,7 @@
#
##############################################################################
__doc__="""Copy interface"""
__version__='$Revision: 1.45 $'[11:-2]
__version__='$Revision: 1.46 $'[11:-2]
import sys, string, Globals, Moniker, tempfile, ExtensionClass
from marshal import loads, dumps
......@@ -290,7 +290,7 @@ class CopyContainer(ExtensionClass.Base):
ob=ob._getCopy(self)
ob._setId(id)
self._setObject(id, ob)
#ob=ob.__of__(self)
ob=ob.__of__(self)
#ob._postCopy(self, op=0)
return ob
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment