[Zope-CMF] redindexing after pastes

Tres Seaver tseaver@digicool.com
Thu, 03 May 2001 22:52:29 -0400


Shane Hathaway wrote:
> 
> seb bacon wrote:
> > How and where does the CMF handle reindexing objects which
> > have been cut'n'pasted?
> 
> _setObject(), which is found in OFS/ObjectManager.py, causes
> manage_afterAdd() events to be generated (well, not really
> events, but pretty close.)  PortalContent.manage_afterAdd()
> finds the catalog and updates it.

I think Seb's problem stems from the fact that we don't
propagate the notification through to the subobjects of a
pasted folder;  such objects continue to be catalogued in their
old location.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org