[Zope-dev] CatalogAwareness and CopySupport, cut and paste problem
König Alexander
koenig@cdc-group.com
Wed, 1 Mar 2000 17:38:05 +0100
I'm using a product python class that inherits from CatalogAwareness and
CopySupport.
The automatic indexing and unindexing on creation and deletion works fine.
When a cutted object is pasted into another folder, manage_beforeDelete
raises
Error Type: AttributeError
Error Value: aq_acquire.
Debugging brought up, that absolute_url() doesn't work when the object is
marked
as cutted. The acquisitiontree is traversed up to th root-application
object.
Zope.absolute_url() tries to call self.aq_acquire('REQUEST').script.
I didn't overwrite any of the involved methods and have no idea what else
could
have such a bad influence on the Application object.
When a object is explicitly deleted, manage_deforeDelete() works well.
I would be very glad if someone could help me out.
Thanks, Alex