Affects Version/s: 6.0.12 EE, 6.1.0 CE RC1
During update layout process we ALWAYS execute the following steps:
1- For each available locale
2- For each layout in the community
3- For each portlet in these layouts
4- Check if each portlet has as scope the modified layout and if its name has been modified in this locale in order to modifiy portlet title.
(method updateScopedPortletNames in LayoutLocalServiceImpl)
When you have a lot of pages and portlets in your portal the performance of this process is very poor.
To test this issue follow the following steps:
1- Create a page named "page1".
2- Drag and drop web content portlet to page1.
3- Select configuration on web content portlet, scope and select page1.
4- Create page 2.
5- Drag and drop web content portlet to page2.
6- Select configuration on web content portlet, scope and select page1.
7- Notice that the name of both portlets is "Web Content (page1)"
8- Go to Manage Pages and change the name of the page from "page1" to "page1 modified".
9- Go back to the page and check in page1 and page2 that the name of the portlets is "Web Content (page1 modified)" instead of "Web Content (page1)"