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

Home page returns when searching in virtual instance after home page changed to content page

    Details

      Description

      NOTES:

      • This fix requires to reindex existing Content Pages ("com.liferay.portal.kernel.model.Layout").
      • This solution also prevents HTML tags located in page content from being indexed.

      Steps to reproduce:
      Method1: Search Web Content

      1. Navigate to Virtual Instances, add a new instance
        1. Web ID: www.able.com
        2. Virtual Host: www.able.com
        3. Mail Domain: liferay.com
      2. Login with the new instance www.able.com:8080
      3. Navigate with Content & Data -> Web Content
      4. Add a web content called "WC WebContent Title"
      5. Navigate to Home page
      6. Search with "WC", assert the web content displays
      7. Search with "WC1"

      Method 2: Search Blogs Entry with Category

      1. Navigate to Virtual Instances, add a new instance
        1. Web ID: www.able.com
        2. Virtual Host: www.able.com
        3. Mail Domain: liferay.com
      2. Login with the new instance www.able.com:8080
      3. Navigate to Categorization
      4. Add a category named "Category Name"
      5. Navigate to Content & Data -> Blog
      6. Add a blog entry with "Category Name"
      7. Navigate to Home page
      8. Search with "Category", assert the blog displays
      9. Search with "Category1"

      Method 3: Search Blogs Entry with Tag

      1. Navigate to Virtual Instances, add a new instance
        1. Web ID: www.able.com
        2. Virtual Host: www.able.com
        3. Mail Domain: liferay.com
      2. Login with the new instance www.able.com:8080
      3. Navigate to Categorization
      4. Add a tag named "Tag Name"
      5. Navigate to Content & Data -> Blog
      6. Add a blog entry with "Tag Name"
      7. Navigate to Home page
      8. Search with "Tag", assert the blog displays
      9. Search with "Tag1"

      Method 4: Search user

      1. Navigate to Virtual Instances, add a new instance
        1. Web ID: www.able.com
        2. Virtual Host: www.able.com
        3. Mail Domain: liferay.com
      2. Login with the new instance www.able.com:8080
      3. Navigate to Users -> Users and Organizations
      4. Add a user named "userfn userln"
      5. Navigate to Home page
      6. Search with "userfn", assert the user displays
      7. Search with "userfn1"

      Actual Result:
      All of the methods: Home page displays.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              linda.sui Linda Sui
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 13 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master