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

Search result number is wrong when filtered by a title


    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

    1. Go to Applications Menu > Control Panel > Gogo Shell
    2. Enable Basic Web Content flag in Gogo Shell
      1. Add
        scr:enable com.liferay.journal.web.internal.info.collection.provider.Basic ebContentSingleFormVariationInfoCollectionProvider
    1. Go to Product Menu >> Content & Data >> Web Content
    2. Add a Web Content with a specific name
      1. (e.g. Web Content Exception Name)
    3. Add another Web Content with a specific name
      1. (e.g. Web Content Name)
    4. Create a Content Page
    5. Edit this content page
    6. Add a Collection Display fragment
    7. Go to Select Collection session
    8. Go to Collection Providers
      1. Select the Basic Web Content option
    9. On the sidebar, select the "Prefilter Collection" option
    10. Search for a word that appears in only one of the web contents
      1. (In this case e.g. "Exception")
    11. 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




          support-lep@liferay.com SE Support
          alessandro.alves Alessandro Alves
          Enterprise Release HU Enterprise Release HU
          0 Vote for this issue
          0 Start watching this issue


            17 weeks, 4 days ago


              Version Package
              7.4.13 DXP U53
     CE GA53