You are not logged in Log in Join
You are here: Home » Members » mcdonc » Products » MultiHookMonkeyPatch

Log in
Name

Password

 
 

Patch MultiHook for downgrades from Zope 2.5 to Zope 2.4/2.3. Zope 2.5 inserts an instance of SessionTraverser as a before publishing traverse function into the Application object's root. When Zope 2.4 attempts to use this as a before publishing traverse method, an error is raised because the MultiHook is actually trying to call a broken object (because there is no such class SessionTraverser in Zope 2.4, and Zope inserts "broken" objects for persistent objects that it can't find on the filesystem). As broken objects have no __call__ method, the symptom shows itself as an 'AttributeError: __call__ in line 171 of BeforeTraverse.py.

This patch causes the error to be logged but not raised to the application layer.

Install this like any other Product and restart your Zope.

Latest Release: 1.0
Last Updated: 2002-01-16 00:20:11
Author: ZopeOrgSite
Categories:
Maturity: Stable

Available Releases

Version Maturity Platform Released
1.0 Stable   2002-01-16 00:20:11
  MultiHookMonkeyPatch.tar.gz (1 K) All