Affects Version/s: 4.2.0, 4.3.0
Component/s: Legacy > Administration Interface
PHP Version: 5.3.2
Database and version: MySQL 5.1.41
Browser (and version): Firefox 3.6, Chrome 8.0
When creating a new object, change the current object state and click the "set" button to save the new object state, after reloading the page, the former object state (in that case the default state) is shown instead of the newly selected state.
This happens only with new drafts and when combined with other custom action buttons on the page. Setting the object state in edit mode with already published objects works as expected.
First add the following custom action button to design/admin/templates/content/edit_states.tpl:
- Create a new article
- Under the states section, select a non-default state
- Click the 'Set' button, resulting in an automatic page reload
- After the reload, notice that the state switches back to the default state