[Zope] Problems with copying own objects
Dieter Maurer
dieter@handshake.de
Fri, 4 Jul 2003 20:43:41 +0200
Sebastian Quei=DFer wrote at 2003-7-1 16:29 +0200:
> I've created two own objects, which cannot be copied. The first is=20
> derived from the DTMLMethod and the second one is derived from=20
> SimpleItem. An error which tells me that the Products doesn't support=20
> 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.registerCla=
ss"
call)?
Dieter