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

Announcements portlet instances share preferences inside a company

    Details

      Description

      Steps to reproduce it:

      1. Startup a DXP 7.0 or Master
      2. Create two sites A and B and one page per site
      3. Add the announcement portlet to both pages
      4. Create an announcement in A with that site as scope (in master go to configuration and select the site A in distribution Scope in the Add Announcement window)
      5. Go the configuration in the portlet for the site A and set that site as scope. Notice that you see the announcement in the portlet.
      6. Go to B and change the configuration to see site B as scope.
      7. Come back to site A and check if you see the annoucement and the configuration for the portlet.

      Results:
      The announcement is not shown in A and the site B is set as scope in the configuration.

      Expected results:
      The announcement is shown in A and the portlet configuration remains with scope A.

      Technical explanation:
      This is caused by the fact the property com.liferay.portlet.preferences-company-wide is set to true for the Announcement portlet. In 6.2 there were two Announcement portlets:

      So, since we keep the ability to filter by scope, we shoud set the property com.liferay.portlet.preferences-company-wide to false as it was in the Social Office portlet.

        Attachments

          Activity

            People

            • Assignee:
              yvonne.han Yvonne Han
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 1 week, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP63
                7.0.X
                7.1.1 CE GA2
                7.1.10 DXP FP4
                7.1.10.1 SP1
                7.1.X
                Master