[Zope] Cloning a ZClass-Instance

Dieter Maurer dieter@handshake.de
Wed, 8 Nov 2000 21:49:31 +0100 (CET)


brocken22@gmx.de writes:
 > Thank you Dieter for your reply,
 > but yout suggestion doesn't solve the problem.
Sad to hear.

 > This is the traceback:
 > "The object 973677459 does not support this operation "
 > This means to me that x is an instance.
I agree.
Though, your news items have strange id's.

 > That's my script->
 > <dtml-in "objectValues(['news'])">
 > <dtml-let x="_.getitem('sequence-item')">
 > 
 > <dtml-if "Jetzt.isCurrentDay()">
 >  <dtml- call "manage_clone(x,'versuch', [REQUEST])"> 
You should not enclose "REQUEST" with "[...]", though this
is *NOT* your current problem.

I looked at the code of "OFS.CopySupport.manage_clone"
and apparently, one of your "news" items (the one with
id '973677459') lets its "cb_isCopyable" return false.
Unfortunately, I have no idea why.



Dieter