[Zope] Copy of open-box product

Tino Wildenhain tino at wildenhain.de
Sat Jan 8 16:57:25 EST 2005


Am Samstag, den 08.01.2005, 22:43 +0200 schrieb Vital Lobachevsky:
...
> > 
> > This looks as if you can't create two identical copy obiviously this way 
> > likely because
> > the class ids must be unique. No further idea about ZClasses. Maybe you 
> > can create a new
> > product instance and then copy file by file using cut&paste...
> 
> I doesn't work too. When I'm trying to copy my ZClasses it fails with
> CopyError: The item ... does not support this operation.

Well, this does not make much sense, the ZClass id is the class
name it represents. Its a bit tricky anyway and most people
will tell you not touch zclasses at all. 
Why dont you derive from the class? This is after all, what
OOP is all about...

Regards
Tino



More information about the Zope mailing list