_getContextName in Products.Five.browser.absoluteurl doesn't always return value
Bug #537453 reported by
sagblmi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Martijn Pieters |
Bug Description
Zope2-2.12.3
In Products.
Current implementation:
def _getContextName
if getattr(context, 'getId', None) is not None:
return context.getId()
expected implementation;
def _getContextName
if getattr(context, 'getId', None) is not None:
return context.getId()
return getattr(context, '__name__', None)
Changed in zope2: | |
assignee: | nobody → Martijn Pieters (mjpieters) |
To post a comment you must log in.
MJ has checked in a fix for this bug, but still owes us a test.