[Zope] catalog reindex question

Chris Withers chrisw at nipltd.com
Fri Sep 26 04:41:36 EDT 2003


(please keep replies on the list)

Sean Kelley wrote:
> When I use dtml-in to list catalog items, one will show up twice if it 
> has been edited.  Originally, an item is added.  Then you look at the 
> page which lists the items with dtml-in and there is one item listed. If 
> you click to edit it and do so and then do another listing, there are 2 
> listed.  I have to clear the catalog and find objects to correct the 
> listing.  I have tried reindexing with mixed results.

When you next see two items, try adding:

<dtml-var getPath>

...to your display code and see if both of the identical items have the same path...

>>> self.reindex_object()

Second take on this, that's not a ZCatalog method, where does it come from?

Chris




More information about the Zope mailing list