juliocamarero/liferay-portal — pull request #2688 by moltam89 (2014-02-12 08:07:31+00:00)
Title: [TECHNICAL-SUPPORT] LPS-44153 LayoutTypePortletImpl#setLayoutTemplateId should call getLayou...

...tTemplate() on the instance instead of a service to get the oldLayoutTemplate

The current logic cannot handle that situation, when there is a "layout-template-id" set in "typeSettings", but the requested template does not exist.

This way users will be able to change template association for a given layout, even if the current template is missing for any reasons

Signed-off-by: Tibor Lipusz