Re: BaseObject.BaseObject.__bobo_traverse__
whit <whit-UE+B0n23d/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
whit wrote: > I'm seeing some spooky twilight zone stuff with five, zope2.9 and > baseobject. basically, __bobo_traverse__ seems to be intercept > traverses before they have a chance to reach my registered views through > z2 page templates via the @@ syntax or simple path expressions (actually navigating to a view works fine). > > the really awesome part is when I patch the method or use > five:traversable and traverse to an object calling a view from the > template. then zope just stops without even raising an error. and the really awesome part of that was that it was caused by a tired programming error... The rest of the aberant behavior still stands though. > look a the method in BaseObject, I'm wondering who needs what and why > anymore. If this stuff must stay, could does anyone object to > refactoring the method to use five traversal directly(upside, no > five:traversable needed for AT anymore). > > -w > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642