[Zope] Re: how to unindex an non existing (deleted)object

Daniel Nouri daniel.nouri at gmail.com
Tue Jun 24 05:41:53 EDT 2008


robert rottermann writes:

> Sometimes a catalog query returns brains that point to non existing objects.
>
> how can I remove such brains from the index programmatically  without
> using the portal_catalag/advanced/update tab?

  brain.aq_parent._catalog.uncatalogObject(brain.getPath())


Daniel



More information about the Zope mailing list