[Zope] Cloning a ZClass-Instance

Sven Hohage sven.hohage@zeitspringer.de
Thu, 09 Nov 2000 10:50:30 +0100


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:


------>
Traceback (innermost last):
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Zop\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (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
__call__
    (Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_In.py, line 607, in
renderwob
    (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
_verifyObjectPaste
    (Object: holle)
Copy Error: (see above)

Thanks again!