Charlie Clark wrote:
> I noticed in an object derived from CMFCatalogAware that it wasn't  
> being removed from the catalogue upon deletion. Looking at the event  
> handlers in CMFCatalogAware it's clear that nothing handles  
> IObjectWillBeRemovedEvent.

I don't think so. OFS.interfaces.IObjectWillBeRemovedEvent is derived 
from OFS.interfaces.IObjectWillBeMovedEvent. So these lines in 
handleContentishEvent() should unindex the object:

     elif IObjectWillBeMovedEvent.providedBy(event):
         if event.oldParent is not None:

Cheers, Yuppie

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to