[Zope] Problem with __before_publishing_traverse__

Peter Bengtsson peter at fry-it.com
Fri Mar 30 08:57:30 EDT 2007


Wow! You are amazing!
Yes, recreating the CookieCrumber just like it was before made it work.
Quirky I must admit.

Dieter Maurer wrote:
> Peter Bengtsson wrote at 2007-3-28 10:40 +0100:
>> ...
>> Removing the CookieCrumbler object obviously isn't a good enough 
>> solution because we need it for pretty logins. At the moment I don't 
>> understand how CookieCrumbler could have anything to do with it. It's 
>> stuff it does surrounding the REQUEST looks sane and I don't understand 
>> how it could effect my application.
> 
> A "CookieCumbler" is setting up itself as a (one of the)
> "__before_publishing_traverse__" hook of its container.
> Thus, it may cause problems from a __before_publishing_traverse__" call.
> 
> As you found out, it does not do so normally. Special (and rare) circumstances
> are necessary.
> 
> It may be enough to recreate the "CookieCrumbler" instance.
> 
> 
> 

-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list