[Zope-dev] Traversal issue which affects Five

Lennart Regebro regebro at gmail.com
Mon Aug 21 12:03:03 EDT 2006


On 8/21/06, Alec Mitchell <apm13 at columbia.edu> wrote:
> Indeed it does, the issue is that writing __bobo_traverse__ methods
> which try to fallback on the normal traversal mechanisms has always
> been a pain (you have to reimplement the normal traversal mechanisms
> yourself, including some funny WebDAVisms).  If instead the
> __bobo_traverse__ mechanism could explicitly tell its caller (via an
> exception) to continue with the standard traversal, it would be a nice
> improvement.  Of course, the real fix may be for products to stop
> using __bobo_traverse__ and start sing BeforeTraverseEvent
> subscribers, or IPublshTraverse adapters.  This is something I hope to
> look into in the next couple days.

Yeah, that's probably a solution that doesn't require us to increse
the complexity of the already overly complex traversal. :)

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope-Dev mailing list