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) self.manage_pasteObjects(copydata) It raises the following 2002-06-11T12:03:25 PROBLEM(100) OFS.CopySupport Error Information.xml 1Traceback (innermost last): File /home/toolkit/Zope251_bck/lib/python/OFS/CopySupport.py, line 97, in manage_copyObjects (Object: Portals) File /home/toolkit/Zope251_bck/lib/python/OFS/ObjectManager.py, line 233, in _getOb (Object: Portals) AttributeError: Information.xml ################################ I use Zope 2.5.1 linux version. I use the product CollaboratingPortals by Thrasys which i am trying to extend it. ____________________________________________________________ Do You Yahoo!? Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr
=?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
participants (2)
-
Dieter Maurer -
George Stroussopoulos