[Zope-CMF] manage_copyObjects

Dieter Maurer dieter@handshake.de
Tue, 11 Jun 2002 22:14:15 +0200


=?iso-8859-7?Q?George_Stroussopoulos?= writes:
 > I am trying to copy/paste some Channels from my
 > portals folder to a different folder named
 > allchannels.
 > I will do the same for other folders containig
 > channels
 >  in order to have a folder containig all the channels.
 > The code i use is :
 > 
 > channelIDs=self.theConfigurationManager.getThePortalsFolder().getAllChannelIds()
 > copydata =
 > self.theConfigurationManager.getThePortalsFolder().manage_copyObjects(channelIDs)
 > ...
 > It raises the following
 > 2002-06-11T12:03:25 PROBLEM(100) OFS.CopySupport Error
 > ...
 > /home/toolkit/Zope251_bck/lib/python/OFS/ObjectManager.py,
 > line 233, in _getOb
 >     (Object: Portals)
 > AttributeError: Information.xml
Apparently, "getAllChannelIds()" returns "Information.xml" which
is not a child of "getThePortalsFolder()".


Dieter