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
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:
--
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,
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):
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')"
[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
[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