Affects Version/s: 6.1.2 CE GA3, 6.1.30 EE GA3, 6.2.0 CE GA1, 6.2.10 EE GA1
The issue is about a very rare, however, possible scenario, when the referenced LayoutTemplate (Page Layout) (for example: 2 Columns (70/30)) is missing. Now, a user is unable to change the template for a page (Layout) that uses a missing template.
For example, after an upgrade, it can take more time for users to upgrade their custom themes & templates, thus, to overcome this, it can happen they want to change the template associations to an available one temporarily.
Here are the steps to reproduce the annoying problem:
1- Start portal
2- Edit "Welcome" page through the side bar
3- Change template to 2 Columns (50/50)
5- Stop portal
6- Navigate to $TOMCAT_HOME/webapps/ROOT/WEB-INF
7- Edit liferay-layout-templates.xml: comment-out the "layout-template" element for 2 Columns (50/50). Save.
8- Start portal
9- Edit "Welcome" page through the side bar
10- You can see that there is no "Template" selected as current one.
11- Select another template
New template should be saved.
Page gets reloaded, but the layout is still the default one, defined in portal.props
and the new template association has not been saved.