[Zope-CMF] problem with CMFTopic.

Romain Slootmaekers romain@zzict.com
Wed, 02 Apr 2003 17:12:52 +0200


Yo,
I have some problems with CMFTopics being updated wrongly:

I built a custom CMF content type X, and I have the objects listed in a 
Topic findX.

after I edit an instance x of X somewhere in the CMF site, the object is 
listed twice in the CMFTopic findX.

My custom type X basically is declared like this:

class X(PortalContent, DefaultDublinCoreImpl):
    """ PortalContent extends CMFCatalogAware """
    ...
    def edit(self,...):
         ...
         self.reindexObject() # make the catalog see our changes....



The funny thing is that a subsequent edits of the object will not make 
it appear more than twice in the topic.

Anyone any clues ??

TIA,

Sloot.