Zope 2.11b1: doubtful "__bobo_traverse__" handling in "OFS.Traversable.Traversable.unrestrictedTraverse"

Bug #215540 reported by Dieter Maurer
2
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Low
Unassigned

Bug Description

"OFS.Traversable.Traversable.unrestrictedTraverse" contains code

                    elif bobo_traverse is not None:
                        # Attribute lookup should not be done after
                        # __bobo_traverse__:
                        raise e

The comment suggests that the existence of '__bobo_traverse__' should prevent
attribute lookup. However, only lookup of acquired attributes it prevented, own attributes
are handled above this code irrespective of the existence of '__bobo_traverse__'

Tres Seaver (tseaver)
Changed in zope2:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.