On Fri, 20 Feb 2004 09:47:47 +1100 Richard Jones <richardjones@optushome.com.au> wrote:
On Friday 20 February 2004 05:52, Dieter Maurer wrote:
We have a report for Zope 2.7 about an object magically turning into "None" (1 or 2 weeks ago).
Sorry, I haven't been following this thread, but I will note that I've seen (repeatably) in my test Zope environment this behaviour.
This is probably unrelated though...
For me, the situation comes about when I am loading up my fresh (ie. clean ZODB) test Zope with a thousand users. While the load script is running (it runs on the command-line and goes TTW using urllib to register the users) if I access a page which summarises all users, I *sometimes* get None for some of the users. The page uses a Catalog to find basic user info, and sometimes uses getObject() to find the real user object. The getObject() appears to return None sometimes.
This is a guess, but perhaps the Catalog is masking some other low-level error and returning None instead? I'll see if that seems possible from the code. -Casey