Re: [Zope] Cloning a ZClass-Instance

2000-11-13 Thread Sven Hohage
Hallo Chris, my reply is late but the problem is already not solved. I've build a simple ZClass 'News' with base-classes 'ZObject, ZObjectManager'. I haven't changed the permission-settings in the product. The script working on the objects is this: -- dtml-in

Re: [Zope] Cloning a ZClass-Instance

2000-11-09 Thread Sven Hohage
Once again thanks to you, but I can't figure out why cloning it's not possible. The object is a simple zclass with the baseclasses -ZObject, ZObjectManager- Nothing special. I know that cloning a catalogaware zclass it's not working but object-manager?? That's the complete traceback: --

Re: [Zope] Cloning a ZClass-Instance

2000-11-09 Thread Chris Withers
Dieter Maurer wrote: 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. What product is being used to create these news items? cheers,

Re: [Zope] Cloning a ZClass-Instance

2000-11-09 Thread Dieter Maurer
Sven Hohage writes: Once again thanks to you, but I can't figure out why cloning it's not possible. The object is a simple zclass with the baseclasses -ZObject, ZObjectManager- Nothing special. That's the complete traceback: -- Traceback (innermost last):

Re: [Zope] Cloning a ZClass-Instance

2000-11-08 Thread brocken22
Thank you Dieter for your reply, but yout suggestion doesn't solve the problem. This is the traceback: "The object 973677459 does not support this operation " This means to me that x is an instance. That's my script- dtml-in "objectValues(['news'])" dtml-let x="_.getitem('sequence-item')"

Re: [Zope] Cloning a ZClass-Instance

2000-11-08 Thread Dieter Maurer
[EMAIL PROTECTED] 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

Re: [Zope] Cloning a ZClass-Instance

2000-11-07 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Hallo, 'news'is a zclass and when I'm using a hardcoded value for x it's working. that's the cloning-method: -- dtml-in "objectValues(['news'])" dtml-let x=sequence-item dtml-if "now.isCurrentDay()" dtml- call