[Zope-dev] reindex_html bug

Jason Spisak 444@hiretechs.com
Mon, 20 Mar 2000 13:44:47 -0500


Michel and Catalog gurus,

I am using this code to reindex after changing properties.

<html>
<body>
<dtml-if "REQUEST.has_key('first_name')">
 <dtml-call
"propertysheets.Employee_properties.manage_editProperties(REQUEST)">
 <dtml-call
"propertysheets.HourlyEmployee_properties.manage_editProperties(REQUEST)">
 <dtml-call
"propertysheets.Base_properties.manage_editProperties(REQUEST)">
 <dtml-call reindex_object>
 <dtml-call "RESPONSE.redirect('index_html')">
</dtml-if>
<form action="<dtml-var URL>"><table>
  <tr><th align=left valign=top>First Name</th>
      <td align=left valign=top>
            <input name="first_name:string" size="35"
                   value="<dtml-var first_name>"></td>
<tr>
    <input type=submit value=" Change ">
    <input type=reset value=" Reset ">
  </td></tr>
</table></form>
</body></html>

This method calls itself.  Why does it not reindex the object, but if I
type in reindex_object from the URL location bar it does?  I was not
aware of this happening until I unzipped 2.1.5 but I cannot be sure that
that it the cause.

All my best,

-- 
Jason Spisak
444@hiretechs.com