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

LayoutsAdminDisplayContext preloads layout descriptions in constructor even if they aren't needed

    Details

      Description

      /layout-admin-web/src/main/resources/META-INF/resources/init.jsp instantiates a LayoutsAdminDisplayContext object. This object adds an attribute in the request containing all layout descriptions.

      All JSP including this init.jsp are executing this logic even when the attribute isn't used. This is specially relevant in 7.0.x where layouts_tree.jsp uses it and its loading that info every time the site administration menu is loaded.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                29 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP82
                7.0.X
                7.1.10 DXP FP12
                7.1.X
                Master