[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

Max M maxm at mxm.dk
Wed Jun 16 09:57:27 EDT 2004


Eric Brun wrote:

> 
> Hi,
> 
> I have a problem with 'getObject' method of CatalogBrains class on Zope271b1 : it's return None. But with a Zope2.7.0
> my object is correctly find and returned. The permissions are right.

Probably an object has been deleted without being uncatalogued. This 
happens often. Either reindex the catalog, or take the None's into 
account in your code. The latter is the safest approach.

-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science




More information about the Zope-Dev mailing list