[Grok-dev] zope catalog won't index persistent object in localutility.

Sebastian Ware sebastian at urbantalk.se
Thu Nov 25 05:14:17 EST 2010

I don't know the answer to this particular question, but I am guessing objects in your BTree are not automatically added to the catalog. I have had similar problems when working with annotations.

Perhaps you could use a grok.Container instead of the BTree. Or if that doesn't work, add the objects to the catalog explicitly. Here are some hints on how to find and manipulate the catalog:


Mvh Sebastian

25 nov 2010 kl. 08.03 skrev Shrek Zhou:

> Hi, 
> I have a local utility register under grok.Application, and it owns a BTree object which contains my objects. and those objects don't get indexed. Sure i have defined the indexes. What's wrong??
> Regards
> Shrek
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev

More information about the Grok-dev mailing list