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

Embedded portlets are not recognized correctly

    Details

    • Type: Story
    • Status: Selected for Development
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0 Alpha 1
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      There are several issues related to embedded portlets and portlet preferences

      1. Currently embedded portlets use portlet preferences with ownerType LAYOUT
      2. We use portlet preferences to check if portlet is on a page or not
      3. We create portlet preferences whenever we ask to getPreferences (non-strict methods)
      4. Developers often exchange preferences strict/non-strict methods to read preferences, which side effect is creating of those preferences

      This is causing performance issues, confuses developers, leads to security issues and seems to be long-term unstable solution.

      Some discussion references:

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package