[Zope-CMF] reindexing on worflow state change

Sylvain Thénault Sylvain Thénault
Mon, 9 Dec 2002 12:40:13 +0100


On Monday 09 December à 12:20, Luca Olivetti wrote:
> En/na Sylvain Thénault ha escrit:
> >hi,
> >
> >I've a problem using a product I've written in plone. 
> >It inherits from PortalFolder, PortalContent and DefaultDublinCoreImpl
> >(in this order).
> >
> >it works correctly but when an the workflow state of an instance changes,
> >the review_state is not reindexed by the catalog.
> >
> > any idea ? 
> >
> 
> PortalFolder redefines indexObject and reindexObject to do nothing.
> Use SkinnedFolder instead.

thanks ! I guess that reverting PortalFolder and PortalContent is also a
solution... Is there any side effect in doing this that way ?

-- 
Sylvain Thénault

  LOGILAB           http://www.logilab.org