[Zope] Re: [Zope-CMF] copy/paste Folders
Dieter Maurer
dieter@handshake.de
Wed, 12 Jun 2002 20:14:58 +0200
=?iso-8859-7?Q?George_Stroussopoulos?= writes:
> ... "manage_pasteObjects" false ...
> because the previous line 167
> ob=ob._getCopy(self)
> returns none as ob
>
> def _getCopy(self, container):
> # Ask an object for a new copy of itself.
> f=tempfile.TemporaryFile()
> self._p_jar.exportFile(self._p_oid,f)
> f.seek(0)
> ob=container._p_jar.importFile(f)
> f.close()
> return ob
Strange!
Can you check, what object does have this problem?
E.g. you can look at "self.getId()", when "ob" is returned as "None".
Can you copy/move this object in isolation?
Dieter