[Grok-dev] zope catalog won't index persistent object in localutility.
trollfot at gmail.com
Thu Nov 25 06:22:24 EST 2010
I gave Shrek some answers on #grok
maybe, when he has time, he can summarize what he did to make it work
in the end.
2010/11/25 Sebastian Ware <sebastian at urbantalk.se>:
> 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:
>> 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??
>> Grok-dev mailing list
>> Grok-dev at zope.org
> Grok-dev mailing list
> Grok-dev at zope.org
More information about the Grok-dev