[Zope] Catalog contains items, but no results

Chris Withers chrisw@nipltd.com
Mon, 24 Jul 2000 10:27:56 +0100


ed colmar wrote:
> This is a sample of a call that I make to the Catalog.
> 
>         base_url=self.site_url()
>         self.Catalog.catalog_object(ob,base_url+'/Promoters/'+id)

I'd go to 2.2 and use the relevent bits of the Traversal interface for
all of this.

This whole area was notoriously problematic in the past (particularly
when things like SiteAccess come into play...)

I hope it's improved in 2.2. What's the 'correct' way to do this sort of
thing in 2.2? Where is it documented? ;-)

cheers,

Chris