[Zope] copy / paste zclasses problem..

Geir B Hansen Geir B Hansen <geirh@funcom.com>
Wed, 16 Feb 2000 09:57:16 +0100


I have two zclasses on my site, one inheriting from
catalogaware(feedbackform), and the other inheriting from catalogaware and
objectmanager (content_document), otherwise no major differecnes.

.. i can copy and paste feedbackforms to my hearts desire,
but when i try the same operation with a content_document,
zope gives me a :
The object [object id] does not support this operation
Traceback (innermost last):
  File C:\PROGRA~1\FUNCOM~1\lib\python\ZPublisher\Publish.py, line 214, in publish_module
  File C:\PROGRA~1\FUNCOM~1\lib\python\ZPublisher\Publish.py, line 179, in publish
  File C:\PROGRA~1\FUNCOM~1\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File C:\PROGRA~1\FUNCOM~1\lib\python\ZPublisher\Publish.py, line 165, in publish
  File C:\PROGRA~1\FUNCOM~1\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: manage_pasteObjects)
  File C:\PROGRA~1\FUNCOM~1\lib\python\ZPublisher\Publish.py, line 102, in call_object
    (Object: manage_pasteObjects)
  File C:\PROGRA~1\FUNCOM~1\lib\python\OFS\CopySupport.py, line 199, in manage_pasteObjects
    (Object: ElementWithAttributes)
  File C:\PROGRA~1\FUNCOM~1\lib\python\OFS\CopySupport.py, line 374, in _verifyObjectPaste
    (Object: ElementWithAttributes)
Copy Error: (see above)


--
Geir B Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com