Sidnei da Silva wrote:
That BeforeTraverseEvent should be fired by ZPublisher/BaseRequest.py,
after it looks up __before_publishing_traverse__ but before calling it
I believe. Firing it from inside CMF doesn't make sense.
That might be right, I'm not familiar with the details. But Zope 2.10
doesn't fire the BeforeTraverseEvent, so CMF has to do it somehow.
I just refactored a dynamically set 'before traverse hook' using a
hardcoded call in __before_publishing_traverse__. AFAICS that didn't
make things worse.
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests