Re: [Zope] copy / paste zclasses problem..
kent@tiamat.goathill.org (Kent Polk) wrote
(Zope version: Zope 2.1.4 (binary release, python 1.5.2, solaris-2.6-sparc) )
I have a ZClass with base classes: ZObject, _ZClass_for_CatalogAware, _ZClass_for_Folder & ZObjectManager which allows me to create a tree of my ZClass instances. I would like to be able to cut and paste my ZClass instances, but when I attempt to paste :
<!-- Error type: AttributeError Error value: aq_acquire -->
<AND> Geir B Hansen <geirh@funcom.com> wrote:
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)
There is a bug in the Collector (maybe two, but who can tell when they're "Under Review") on this one. Tres. -- ========================================================= Tres Seaver tseaver@palladion.com 713-523-6582 Palladion Software http://www.palladion.com
participants (1)
-
Tres Seaver