[Zope] Catalog import duplicates entries...how to avoid?

John Schinnerer johnschinnerer@yahoo.com
Thu, 6 Jun 2002 00:31:09 -0700 (PDT)


Howdy again,

(This is the reason for my question about a 'select all' button in the
Catalog tab...)

When importing a new version of a site to my live server, the catalog
(there's only one in the site, default name, and it's in a subfolder,
not in the root) double-indexes everything.  That is, after import a
catalog search returns two of everything found instead of just one; the
catalog tab shows two of each item, and twice the number of expected
total items.  

Import process is:
* delete all ('old') objects in root folder
* import 'new' site .zexp file, which comes in as a subfolder of root
that contains all 'new' site objects
* go to imported folder, select all ('new') objects and click 'Cut'
* go to root folder and click 'Paste'
* delete the (now empty) subfolder that resulted from the import

Everything works fine after this except for the catalog...
Anyone know why this catalog double-indexing happens in this case
and/or how to avoid it?  

thanks,
John S.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com