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

Blogs Search - Comments search results are not appearing correctly

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      When searching for a comment, the search results are displaying the HTML that is used to highlight the word, ex:

       test <span class="highlight">comment</span> 

      Steps to Reproduce:

      1. Add Blogs Portlet
      2. Add Blogs entry
      3. Add comment to Blogs entry
      4. Search for the comment
      5. Assert the comment appears in search results

      Expected Result:
      The comment appears and the relevant search term is highlighted

      Actual Result:
      The comment appears, the relevant search word is not highlighted, but the HTML code to highlight the result appears as part of the search result.

      This is happening in ee-6.2.x, but not on ee-6.2.10. This also only seems to happen with blogs comment search, it does not happen with Blogs Title or Blogs Entry search (when there are no comments)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 18 weeks, 1 day ago

                  Packages

                  Version Package