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

Segments with both context and model criteria are not correctly evaluated with guest users

    Details

      Description

      Reproduction steps:

      1. Go to Site administration -> People -> Segment
      2. Create a segment called "liferay.com with English language" that contains following rules:
        • User => email contains liferay.com
        • <AND>
        • Session => languageId = en
      3. Create a Content page, put a Header fragment on it
      4. Write "Default" in it
      5. Create a new experience using the "liferay.com with English language" segment, configure it before than the "Default" experience
      6. Change the header to "liferay.com with English language" and save the page
      7. Open the page in an incognito window (guest user)

      Expected behaviour: "Default" version of the page should be shown

      Actual behaviour: "liferay.com with English language" version of the page is shown

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              carlos.brichete Carlos Brichete Báez
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                41 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP11
                  7.2.10.4 DXP SP4
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master