portal_skins/manage_properties settings set to '' on GET

Bug #1322172 reported by Gagaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope CMF buildout
New
Undecided
Unassigned

Bug Description

Hello,

Python 2.7.6
CMF 2.2.7
Zope 2.13.22

In portal_skins/manage_propertiesForm, the browser is redirected to portal_skins/manage_properties when saving the properties. If this page is reloaded (portal_skins/manage_properties), the settings are set to their default value.

Issue comes from http://svn.zope.org/Products.CMFCore/trunk/Products/CMFCore/SkinsTool.py?annotate=122820 (line 182). Adding the following at the start of the method solves this issue:

    if REQUEST.get('method', None) != 'POST':
        return self.manage_propertiesForm(self, REQUEST, management_view='Properties')

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.