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

When publishing a content page from Staging to Live, nonIndexableFragmentEntryLinkIds are not being updated

    Details

      Description

      Please note this issue is only reproducible in 72x; theĀ "Hide Content from Search Results" option is not available in 73x and above.

      Description

      The customer has found that nonIndexableFragmentEntryLinkIds are not being updated when publishing a content page from Staging to Live, causing content pages to be unexpectedly indexed in the Live site (due to the "excluded fragment ID" trying to exclude the ID corresponding with the staging version, instead of the Live version of the fragment). This results in content that should be hidden on pages from being searched coming up when searching for that content in the live site.

      Steps to reproduce

      1. Start a clean bundle of Liferay DXP 7.2.X
      2. Go to Publishing -> Staging and enable Local Live Staging, with the default staging configuration
      3. Go to Site Builder -> Pages and a new Content Page
      4. Add a Paragraph Component to the page and add the words Kangaroo to the paragraph
      5. Select the Paragraph box, and in the configuration palette, select the Search Options button (magnifying glass), and check the "Hide Content from Search Results" box
      6. Publish the page, and then Publish to Live
      7. Go to the live site and search "Kangaroo"

      Results of Testing

      Expected Results: The page does not come up in results when searching Kangaroo
      Actual Results: The page comes up in results when searching Kangaroo

      Master + 73x

      Can't test in master, couldn't find "Hide Content from Search Results" option - d2d2ba53afe5f6013866534a60a92e9ee615c8d6

      Branch (72x)

      Reproduced - 68db70b9650c3d3cd8198671e146d8fd84a5f950

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcell.weller Marcell Weller
              Reporter:
              christopher.kian Christopher Kian
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Christopher Kian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.10 DXP FP17
                  7.2.10.6 DXP SP6
                  7.2.X