[Zope] ZCatalog and BTrees

Dieter Maurer dieter@handshake.de
Mon, 4 Mar 2002 23:51:04 +0100


Thomas Guettler writes:
 > I am storing my data in a BTreeFolder with _setOb(). I can access
 > my objects with a URL (/myBTreeFolder/foo) but ZCatalog seems to
 > be unable to find it.
 > 
 > I store my data with _setOb() because _setObject() behaves like a normal 
 > folder.
"_setObject" calls the "manage_afterAdd" which (for "Catalog*Aware") does
an "indexObject". When you avoid "_setObject", you must call
"manage_afterAdd" yourself.


Dieter