[Zope] ZCatalog: Huge Problems recataloging an item

Timm Gebhart t.gebhart@meavista.de
Fri, 15 Nov 2002 17:01:30 +0100


Hi there.

I seem to have a problem with CatalogAware Classes and index_object:
Method code is as follows:
<html><body>
<dtml-call "REQUEST.set('active', 1)">
<dtml-with "content[pic]" only>
  <dtml-call "manage_changeProperties(REQUEST)">
  <dtml-call reindex_object>
</dtml-with>
<p>Changes saved.</p>
</body>
</html>

which is getting called from a form outside the management interface to u=
pdate=20
a catalogued item's properties.
But it does not!

Though the object has now the new values, the ZCatalog entry is not updat=
ed,=20
and the DTML method returns without showing any errors.

How can this possibly happen? I am a bit confused especially since the sa=
me=20
method worked before restarting Zope.

Thanks in advance,
tmM

--=20
Nobody writes jokes in base 13.
=09=09=09=09Douglas Noel Adams +