[zope2-tracker] [Bug 180155] Re: HEAD requests in presents of browser:defaultView gives AttributeError in publisher
Wichert Akkerman
180155 at bugs.launchpad.net
Tue Apr 19 09:43:33 EDT 2011
I am wondering if a much simpler solution to check for acquisition would
be something like this:
if no_acquire_flag and IAcquirer.providedBy(parents[1]):
if aq_base(getattr(parents[1], entry_name, None)) is aq_base(object):
raise AttributeError(entry_name)
the idea here being that we need to test if fetching entry_name from the
grandparent results in the exact same object as we already have then
acquisition must be in play. Are there any situations that would be
missed by this simpler version?
--
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/180155
Title:
HEAD requests in presents of browser:defaultView gives AttributeError
in publisher
More information about the zope2-tracker
mailing list