-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X
-
Fix Version/s: 7.2.10 DXP FP17, 7.2.10.6 DXP SP6, 7.2.X
-
Component/s: Out of the box Fragments > Paragraph, Staging
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Git Pull Request:
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
- Start a clean bundle of Liferay DXP 7.2.X
- Go to Publishing -> Staging and enable Local Live Staging, with the default staging configuration
- Go to Site Builder -> Pages and a new Content Page
- Add a Paragraph Component to the page and add the words Kangaroo to the paragraph
- 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
- Publish the page, and then Publish to Live
- 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
- is caused by
-
LPS-124407 Allow users to get accurate search results for public page content when using the common search functionality
-
- Closed
-