malthe/chameleon — Issue #86: manage_tabs_message option ignored
Author: mauritsvanrees
Created: 2012-01-06 01:27:13+00:00
State: open

When editing a page template through the web, specifically in the ZMI, for example in portal_skins/custom, and you click 'Save changes' you normally get back to the edit form and see a message `Changes saved`. This is done by passing the `manage_tabs_message` option, like this in `Products/PageTemplates/ZopePageTemplate.py`:

```python
self.pt_editForm(manage_tabs_message='Saved changes')
```

When using five.pt/chameleon this message never shows up, even though the save is successful. Manually removing the five.pt line from bin/instance fixes it.

The `plone.app.customerize` tests fail because of this: they verify if a change was successful by checking that the text 'Saved changes' is in the resulting page.

I wonder if this is true for all options that are passed to a template, though I would expect a lot more failing tests then, so this is probably not the case.

Error messages do show up when there is something wrong, but those use a different approach.