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

Journal portlet is listed as embedded after editing permissions from a WCD portlet

    Details

      Description

      1. Add a Web Contet Display portlet to a page
      2. Add a new web content article to the portlet (or select an existing one to be displayed)
      3. Edit the article using the WCD portlet's Edit feature
      4. In the edit article screen, open Permissions by clicking on the Permissions button in the header
      5. Close the article (it's not necessary to save it), go to Control Panel end edit the page on which the WCD portlet is placed
      6. Go to Embedded Portlets

      Result: Journal portlet (15) will be listed as embedded

      It is due to a side effect of com.liferay.portlet.portletconfiguration.action.ActionUtil.getTitle(Portlet portlet, RenderRequest renderRequest), where an unnecessary portlet preferences record gets created for the Journal portlet.

      Master branch is not affected, because permissions can't be modified from the edit article screen anymore.

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            gergely.mathe Gergely Mathe (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 15 weeks, 5 days ago

                Packages

                Version Package
                6.2.X EE