Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1446

User Segment Content Display and Simulator portlet do not work fine for site members having the Preview in Device permission after use the Simulator Portlet

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x, 2.1.2
    • Fix Version/s: 2.2.0
    • Component/s: Content Targeting
    • Labels:

      Description

      Steps to reproduce.

      1. Deploy last version of AT
      2. As SuperAdmin: Go to Site > Configuration > Audience Targeting and add a new User Segment (Liferay Users Segment) for the users member of the Liferay site (adding the rule User attribute > site member > and selecting the Liferay Site)
      3. Create a web content: Welcome site member!
      4. Add the User Segment Content Display portlet to the home page, and configure it to display the Welcome site member! for the Liferay Users Segment
      5. Create a new regular role: SimulationRole , and define the permission Site Settings > Site: Preview in Device
      6. Create a new user1 as:
        1. Liferay Site
        2. Role: Simulation Role
        3. Password: temporal
      7. Sign-Out
      8. Login into the portal with the user1 and check that he views the Welcome site member! in the home page
      9. Click in the Simulator portlet and select the Liferay Users Segment.

      Result User1 can not view the Welcome site member! any more, also after closing the simulator the page does not display any more the Welcome site member! for this user.
      Warning in Log

      2018-04-11 16:16:01.381 WARN  [http-nio-8080-exec-5][SecurityPortletContainerWrapper:363] User 32829 is not allowed to access URL http://localhost:8080/web/guest/home and portlet com_liferay_content_targeting_simulation_web_portlet_SimulatorPortlet
      

      Expected User1 can simulate the home page with the Liferay Users Segment without errors.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2.2.0