ZODB conflict error AFTER adding an 'Access Rules'
Hi all, I've added an 'access rule' to my zope/CMF/plone site. Since then, I'm getting several errors in the console output like this: 2003-09-10T12:28:00 INFO(0) ZODB conflict error at /myroot/museum/share/js /share.js (6 conflicts since startup at 2003-09-10T12:16:58) ------ 2003-09-10T12:28:01 PROBLEM(100) Localizer The thread number 1656 don't has a re quest object associated. My access rule sets an attribute into the session object and changes skin (CMF 1.4 feature) . Any idea? If I remove the access rule, the errors disappear. Regards, -- Jean
Jean Baltus wrote:
My access rule sets an attribute into the session object and changes skin (CMF 1.4 feature) ?
Try commenting out the code which sets the session attribute and see if hte problems go away, if they do, then you need to speak to Chris McDonough nicely and see if he has any ideas... I remember some threads on conflicts in sessions a while back, so maybe a have a Google too... Chris
Yes I searched on 'conflicts ...', nothing really helped. I commented out the set in session, didn't change anything... However, if I comment out the "changeskin" method, the problem doesn't seem to appear??? But I actually need that call :-( Any idea? -- Jean -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: jeudi 11 septembre 2003 16:35 To: Jean Baltus Cc: zope@zope.org Subject: Re: [Zope] ZODB conflict error AFTER adding an 'Access Rules' Jean Baltus wrote:
My access rule sets an attribute into the session object and changes skin (CMF 1.4 feature) ?
Try commenting out the code which sets the session attribute and see if hte problems go away, if they do, then you need to speak to Chris McDonough nicely and see if he has any ideas... I remember some threads on conflicts in sessions a while back, so maybe a have a Google too... Chris
Jean Baltus wrote:
I commented out the set in session, didn't change anything... However, if I comment out the "changeskin" method, the problem doesn't seem to appear???
So the chane skin method is changing something in a ZODB somewhere? wow :-( Hmm, can you check if it's a Read Conflict Error or a Write Conflict Error? Chris
How can I check that? Do you think it could be related to localizer and translation service too... ? -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] So the chane skin method is changing something in a ZODB somewhere? wow :-( Hmm, can you check if it's a Read Conflict Error or a Write Conflict Error? Chris
Jean Baltus wrote at 2003-9-12 15:24 +0200:
How can I check that?
I attach a patch that will log this information.
...
-----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com]
So the chane skin method is changing something in a ZODB somewhere? wow :-(
Hmm, can you check if it's a Read Conflict Error or a Write Conflict Error?
Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Jean Baltus