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

Web Content's content is not displayed in snippet if summary exists

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0 DXP FP32, 7.0.X, Master
    • Fix Version/s: None
    • Component/s: WCM
    • Labels:
    • Story Points:
      1.5
    • Fix Priority:
      3

      Description

      Issue
      Web Content's content is not displayed in snippet if summary exists even though the searched word only exists in content

      Steps to reproduce

      1. Start a clean de-31 bundle
      2. Login with test user and refresh search indexes just in case
      3. Create a new web content:
        Title: This is the title
        Content: This is the content
        
      4. Create another web content:
        Title: This is another title
        Summary: It has summary
        Content: This is another content
        
      5. Go to home page
      6. Search for content

      Expected results
      Content without summary is displayed and content is highlighted in its snippet
      Content with summary is displayed and content is highlighted in its snippet

      Actual results
      Content without summary is displayed and highlighted as expected
      Content with summary is displayed but summary is shown as snippet instead of content

      Reproduced in
      master (5bd90c6d4c0eef9ae776557d0414de201d96b8ea)

      Note
      Same in Elasticsearch and Solr

        Attachments

        1. solr.png
          solr.png
          85 kB
        2. summary.png
          summary.png
          241 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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

                Packages

                Version Package