Onsdag 05 november 2003 10:16 skrev du:
Gitte Wange wrote at 2003-11-1 00:01 +0100:
At 22:55 31-10-2003, you wrote:
Gitte Wange wrote at 2003-10-31 15:37 +0100:
I have a ZCatalog (in the shape of a portal_catalog in CMF). Everytime I go to the Advanced tab and tries to reindex the catalog, I
get
this error and traceback: ZODB.POSException.ConflictError
[SNIP error traceback]
ConflictError: database conflict error (oid 0000000000000006, serial was 0350b50baca92b4c, now 0350b50a6e739abb)
Why is that ?
Indeed: why does your "reindex catalog" write to a session?
Someone else does, too. This gives you a ConflictError.
Thanks Dieter - at least I know what's causing the error. Now I only need to find out why :-)
The error has been introduced after I switched to use PluggableUserFolder with my own SessionLogin plugin - maybe I should start to look for the cause there.
Do you write into the session?
Even if you only read it, it may cause the problem. Reading a session resets its timeout and therefore entails writing.
Thanks for clearing that out :-) I guess something in my identification mechanism went wrong - I had made it create a user object even if the username didn't exists. Fixing that bug also fixed the catalog bug :-) -- Gitte Wange Technical Manager Email: gitte@mmmanager.org Web: http://www.mmmanager.org Tlf: +45 36 46 20 02
We'll tell you when we try out the code you've written ;-) Ahha, the classic open-source sanity pill/ thorn in my side.... What You Want Is What You Should Code Yourself ( WYWIWYSCY )
-- Tom Smith: Zope Mailing List, About using ZODB as ODBC data source.