[Zope-dev] CatalogBrains since Zope2.7.1b1

Dieter Maurer dieter at handshake.de
Wed Jun 16 14:37:59 EDT 2004


Eric Brun wrote at 2004-6-16 11:16 +0200:
>I have a problem with 'getObject' method of CatalogBrains class on Zope271b=
>1 : it's return None. But with a Zope2.7.0
>my object is correctly find and returned. The permissions are right.
>
>is there any bug here ?

They return "None" when the object no longer exists.

Check the path ("getPath" method) and verify whether the object
exists.

-- 
Dieter



More information about the Zope-Dev mailing list