4 Jul
2003
4 Jul
'03
6:43 p.m.
Sebastian Queißer wrote at 2003-7-1 16:29 +0200:
I've created two own objects, which cannot be copied. The first is derived from the DTMLMethod and the second one is derived from SimpleItem. An error which tells me that the Products doesn't support this operation is raised. It's line 375 of OFS/CopySupport.py. Other objects I derived from Folder or Image work fine.
The destination does not allow to add objects of the given type (identified by the objects "meta_type"). Are your objects globally registered (this is usually done in the product's "initialize(context)" method with a "context.registerClass" call)? Dieter