20 Oct
2003
20 Oct
'03
5:47 p.m.
Tobias Herp wrote at 2003-10-20 15:15 +0200:
I have a Python product which defines a __before_publishing_traverse_ method. At last I thought it would all work fine now...
Now I added one of my User Folder objects and got an exception because __before_publishing_traverse__ was called with only two arguments instead of three.
In "Products.CMFCore.DynamicType.DynamicType.__before_publishing_traverse" I see code like: def __before_publishing_traverse__(self, arg1, arg2=None): """ Pre-traversal hook. """ # XXX hack around a bug(?) in BeforeTraverse.MultiHook REQUEST = arg2 or arg1 Apparently, your problem has been observerd by others and they worked around it this way. Dieter