[Zope-CMF] bug in CMFCore/PortalFolder.py or content/folder_edit.py

Mark McEahern mark@mceahern.com
Thu, 27 Feb 2003 11:14:06 -0600


Version:  1.3.1 beta 1

When you edit a portal folder, clicking Change and View causes
folder_edit.py to set this as the target action:

  target_action = context.getTypeInfo().getActionById('view')
  context.REQUEST.RESPONSE.redirect(%s/%s?%s' % (context.absolute_url(),
                                                 target_action,
                                                 qst))

This means the resulting url is:

  folder_name/?portal_status_message=message

Instead of:

  folder_name/folder_contents?portal_status_message=message

Is that intended?

Thanks,

// mark

-