[Zope-CMF] Catalog....??

Dieter Maurer dieter@handshake.de
Tue, 24 Apr 2001 21:55:41 +0200 (CEST)


cmf@sjeems.nl writes:
 > I have made a Znieuws (Zclass) for adding newsarticles.
 > If I add a instance through the zope interface everything is ok. The
 > instance is putten into the Catalog with all of it's properties.
 > ...
 > Now my problem is If I add an article through the "user" interface (without
 > seeing the zope interface). The article is put ito the catalog but it misses
 > all of it's properties , except for bobo_modification_time and title.
Apparently, the properties are changed after the "manage_afterAdd"
method has been called.

The problem will go away, if you call "index_object" (or
similar --> Products.ZCatalog.CatalogAware) after
you have changed the properties.


Dieter