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

<dtml-in "objectValues(['news'])">
<dtml-let x="_.getitem('sequence-item')">
 <dtml- call "manage_clone(x,'test',REQUEST)"> 


The response of Dieter Maurer was, that it is a permission problem
-->"Either you are not allowed to call the ZClass constructor
  at the destination,

  or you are not allowed to access the object to be cloned
  at the destination."
I'm trying to execute the operation with the role 'manager'

That's the traceback:
The object holle does not support this operation 
Traceback (innermost last):
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Zop\lib\python\Zope\__init__.py, line 221, in
    (Object: ElementWithAttributes)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Zop\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: NewsPruefer)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: NewsPruefer)
  File C:\Zop\lib\python\OFS\DTMLMethod.py, line 167, in __call__
    (Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_String.py, line 502, in
    (Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_In.py, line 607, in
    (Object: objectValues(['news']))
  File C:\Zop\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
    (Object: x="_.getitem('sequence-item')")
  File C:\Zop\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval
    (Object: manage_clone(x,'versuch',REQUEST))
    (Info: REQUEST)
  File <string>, line 0, in ?
  File C:\Zop\lib\python\OFS\CopySupport.py, line 321, in manage_clone
    (Object: holle)
  File C:\Zop\lib\python\OFS\CopySupport.py, line 402, in
    (Object: holle)
Copy Error: (see above)


Thanks and Bye

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to