[zope2-tracker] [Bug 537453] [NEW] _getContextName in Products.Five.browser.absoluteurl doesn't always return value
sagblmi
laurent.mignon at softwareag.com
Thu Mar 11 11:10:02 EST 2010
Public bug reported:
Zope2-2.12.3
In Products.Five.browser.absoluteurl the _getContextName(self, context)
is not completed
Current implementation:
def _getContextName(self, context):
if getattr(context, 'getId', None) is not None:
return context.getId()
getattr(context, '__name__', None)
expected implementation;
def _getContextName(self, context):
if getattr(context, 'getId', None) is not None:
return context.getId()
return getattr(context, '__name__', None)
** Affects: zope2
Importance: Undecided
Status: New
--
_getContextName in Products.Five.browser.absoluteurl doesn't always return value
https://bugs.launchpad.net/bugs/537453
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker
mailing list