Issue
- When users enable staging with Page Versioning, the content of a content page in the staging version of the site becomes unsearchable.
-
Steps to reproduce:
(Scenario 1)
1) Create a new site
2) Create a page fragment with the following static content:
<p>lorem ipsum</p>
3) Create a public content page (page 1) from the fragment
4) Checkpoint: Navigate to Site Builder > Pages and searching for 'page 1' or 'lorem' or 'ipsum' returns to page 1 as a hit
5) Enable Local Live Staging for the site with default settings
6) Navigate to Site Builder > Pages of the staging site: Search for 'lorem' or 'ipsum'
Observed behavior: page 1 is not returned
Expected behavior: page 1 is returned in Search Results(Scenario 2)
Repeat Step 1-3 and from the Control Panel > Configuration > Search reindex all search indexes (no need for Staging)
Search for 'lorem'
Observed behavior: page 1 is not returned
Expected behavior: page 1 is returned in Search Results
Restarting DXP will result in the missing pages turning up in search.
Environment
- Liferay DXP 7.1
Resolution
- The above-mentioned observed behaviors are a known Liferay DXP issue that has been addressed in the following versions:
-
DXP 7.1: liferay-fixpack-dxp-15-7110
DXP 7.2: liferay-fixpack-dxp-2-7210
-
DXP 7.1: liferay-fixpack-dxp-15-7110
- If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.