manage_workspace logic is buggy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
in App/Management.py there is manage_workspace defined, whose duty it is to dispatch to the first item of manage_options which is allowed for the user.
Additionally, it seems that manage_workspace recognize if the action for this option contains a slash:
def manage_
"""Dispatch to first interface in manage_options
"""
try:
if m=='manage_
except:
raise Unauthorized, (
if m.find('/'):
raise 'Redirect', (
return getattr(self, m)(self, REQUEST)
The last three lines don't seem to do anything sensible, because an attribute error will be raised if m='/something', and otherwise there will always be the redirect.
Possible Fix:
if (m.find('/')+1):
...
Changed in zope2: | |
status: | Incomplete → New |
this issue was fixed with the patch for #1058