[Zope-dev] Can't paste CatalogAware object

Itamar Shtull-Trauring itamars@ibm.net
Thu, 06 Jan 2000 13:19:29 +0200


I have a ZClass that inherits (indirectly thorugh a python class) from
CatalogAware.

I cut an instance, then paste it.  I get the following error (2.1.0 and
2.1.1):

               Error Type: AttributeError
               Error Value: aq_acquire

Traceback (innermost last):
...
  File /home/zope/lib/python/OFS/CopySupport.py, line 225, in
manage_pasteObjects
    (Object: CatalogAware)
  File /home/zope/lib/python/OFS/ObjectManager.py, line 267, in _delObject
    (Object: ElementWithAttributes)
  File /home/zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line
129, in manage_beforeDelete
    (Object: CatalogAware)
  File /home/zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line
186, in unindex_object
    (Object: CatalogAware)
  File /home/zope/lib/python/Products/ZCatalog/CatalogAwareness.py, line
156, in url
    (Object: CatalogAware)
  File /home/zope/lib/python/OFS/SimpleItem.py, line 315, in absolute_url
    (Object: CatalogAware)
  File /home/zope/lib/python/OFS/SimpleItem.py, line 315, in absolute_url
    (Object: ElementWithAttributes)
  File /home/zope/lib/python/OFS/Application.py, line 282, in absolute_url
    (Object: ApplicationDefaultPermissions)
AttributeError: (see above)

-- 
Itamar S.T.  itamars@ibm.net