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

Getting children layouts using LayoutLocalServiceUtil.getLayouts performs poorly beause of the bug in LayoutLocalServiceVirtualLayoutsAdvice method interceptor

    Details

      Description

      LayoutLocalServiceUtil.getLayouts(groupId, privatelayout, parentLayoutId) performs poorly after upgrade from 6.1.0 CE GA1 to 6.1.1 CE GA2.
      The call to LayoutLocalServiceUtil.getLayouts(groupId, privatelayout, parentLayoutId) results in a call to LayoutLocalServiceUtil.getLayouts(groupId, privatelayout), which fetches not only parentLayoutId children, but all layouts of the group.
      The cause of this is LayoutLocalServiceVirtualLayoutsAdvice method interceptor.
      The bug was introduced with commit dd576b3aa52c9ce6f7bba450487a26f6b05db7d8.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 39 weeks, 2 days ago

                Packages

                Version Package
                6.2.0 CE M4