[Zope] CatalogAware does not work?

Loren Stafford lstafford@morphics.com
Wed, 18 Apr 2001 10:07:31 -0700


I think Casey's plan is a good idea.

But, currently, you need to implement you own form and form handler for
making property changes. Your form handler can call reindex_object right
after it calls manage_editProperties or manage_changeProperties.

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Casey
> Duncan
> Sent: Wednesday, April 18, 2001 09:36
> To: Milos Prudek
> Cc: zope@zope.org
> Subject: Re: [Zope] CatalogAware does not work?
>
>
> Milos Prudek wrote:
> >
> > I followed Automatic Cataloging example in Zope Book, Chapter 9.
> >
> > Everything works fine except automatic cataloging of newly created
> > fields ("author", "content"). When I change data in those  fields it is
> > not reflected in the catalog.
> >
> [snip]
> >
> > --
> > Milos Prudek
> >
>
> CatalogAware does not update things when properties are changed. This
> can be solved by intercepting manage_editProperties and
> manage_changeProperties, but I'm not sure if this is practical in a
> ZClass.
>
> Why couldn't CatalogAware do this? If nobody has a good reason, I might
> push forth a patch to CatalogAware to implement this.
>
> --
> | Casey Duncan
> | Kaivo, Inc.
> | cduncan@kaivo.com
> `------------------>
>