16 Jun
2004
16 Jun
'04
1:57 p.m.
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