[Zope] possible bug w/ CatalogAware?

Kevin Dangoor kid@kendermedia.com
Tue, 17 Aug 1999 19:45:19 -0400


-----Original Message-----
From: Alex Rice <alrice@swcp.com>
To: zope@zope.org <zope@zope.org>
Date: Tuesday, August 17, 1999 7:29 PM
Subject: [Zope] possible bug w/ CatalogAware?


>The symptom is strange. The dtml method is named editSelf(). Like this,
>it works as intended:
>
>  <dtml-call "propertysheets.info.manage_editProperties(REQUEST)">
>  <dtml-call "RESPONSE.redirect('reindex_object')">
>
>However, like this, it doesn't appear to call reindex_object, or it
>just doesn't do anything:
>
>  <dtml-call "propertysheets.info.manage_editProperties(REQUEST)">
>  <dtml-call reindex_object>

That's strange. Here's a method from KM|Net News:
<dtml-call "REQUEST.set('score', 2000000000-(_.int(release) +
8640*importance))">
<dtml-if "not REQUEST.form.has_key('top')">
  <dtml-call "REQUEST.set('top', 'off')">
</dtml-if>
<dtml-if "not REQUEST.form.has_key('current')">
  <dtml-call "REQUEST.set('current', 'off')">
</dtml-if>
<dtml-call "propertysheets.artinfo.manage_changeProperties(REQUEST)">
<dtml-call reindex_object>
<dtml-var index.html>

This method works and does essentially what you were looking for...

Kevin