[Zope-CMF] Deleting objects in portal
Florent Guillaume
fg@nuxeo.com
17 Oct 2001 10:43:16 GMT
If the "something" you delete is subclassed from PortalContent,
everything should be automatic, as PortalContent has a
manage_beforeDelete hook that unindexes the object before deletion.
-- Florent
> Whenever I delete something from a portal, the catalog doesn't get
> updated. If I at the frontpage have a box displaying the newest 5 news
> item and I delete and item that used to be displayed there, I will get an
> error when I load the front page saying that it cannot find the object.
>
> Shouldn't there be some sort of delete function that updates the catalog
> instead of just the manage_delObjects() function ?
> Or have I simply missed that ?
>
> TIA,
> Gitte Wange
--
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com