Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
1
-
Regression Bug
Description
Description
Given that the Basic Web Content flag has been set, when the Page Creator tries to filter by a title, then the resulting number returned will be wrong.
Steps to Reproduce
- Go to Applications Menu > Control Panel > Gogo Shell
- Enable Basic Web Content flag in Gogo Shell
- Add
scr:enable com.liferay.journal.web.internal.info.collection.provider.Basic ebContentSingleFormVariationInfoCollectionProvider
- Add
- Go to Product Menu >> Content & Data >> Web Content
- Add a Web Content with a specific name
- (e.g. Web Content Exception Name)
- Add another Web Content with a specific name
- (e.g. Web Content Name)
- Create a Content Page
- Edit this content page
- Add a Collection Display fragment
- Go to Select Collection session
- Go to Collection Providers
- Select the Basic Web Content option
- On the sidebar, select the "Prefilter Collection" option
- Search for a word that appears in only one of the web contents
- (In this case e.g. "Exception")
- Apply
Expected Result
The number returned in the filter message will be correct
Actual Result
The number returned in the filter message will not be correct
Verified on master: 197f259f54e8b6d86666d184966e1601c5b03cc2
Reproduced on: Tomcat 9.0.56 + MySQL 8.0 Portal master
GIT ID: 197f259f54e8b6d86666d184966e1601c5b03cc2
Cannot be reproduced on:
Tomcat 9.0.65 + MySQL 8.0. Liferay DXP 7.4.13 U50