[Zope-CMF] CMF finds catalog entry twice

Florent Guillaume fg@nuxeo.com
Wed, 24 Apr 2002 15:10:25 +0000 (UTC)


Or write a script that trolls the catalog for objects whose path is not
inside the CMF, and remove them. Probably a 3-line script.

Florent

Dieter Maurer  <dieter@handshake.de> wrote:
> Robert Rottermann writes:
>  > I copied a whole CMFSite to an other folder.
>  > 
>  > Now the Catalog finds the objects in the new and in the old folder.
>  > I did clear all indices and reindexed them but this did not help.
>  > 
>  > What should I do??
> An interesting effect!
> 
> I do not have an elegant solution, just a hack:
> 
>   Rename your original CMF Site.
>   This makes all old URL in the new catalog invalid.
>   Rebuild the new catalog in its "Advanced" tab.
>   All old URLs will be recognized as invalid and removed.
>   Rename your original CMF Site again to its original name.
> 
> 
> Dieter
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com