Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-23119

Performance problems with update layout

    Details

      Description

      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)"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.0 CE RC1