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

Result Rankings: Pinned and Hidden results are not removed from search results after the underlying asset is deleted or moved to Recycle Bin

    Details

      Description

      Steps to reproduce (for pinning):

      1. Create a Blog Entry titled: article1
      2. Navigate to Result Rankings portlet and create a new result ranking with the query article
      3. Pin the result for article1
      4. Back in the Blogs admin portlet, delete article1
      5. On the Portal home page, search for article
        Expected result: No results appear.
        Actual resultarticle1 appears
      6. Navigate to the Result Rankings portlet and edit the article1 result ranking
        Expected result: No results appear.
        Actual resultarticle1 appears and is pinned

      Steps to reproduce (for hiding):

      1. Create a Blog Entry titled: article1
      2. Navigate to Result Rankings portlet and create a new result ranking with the query article
      3. Hide the result for article1
      4. Back in the Blogs admin portlet, delete article1
      5. Navigate to the Result Rankings portlet and edit the article1 result ranking
      6. Navigate to the "Hidden" tab
        Expected result: No results appear.
        Actual resultarticle1 appears within the "Hidden" search results list. However, there doesn't seem to be any practical impact to normal searches outside of the Result Rankings portlet.

      Note: This is reproducible with Web Content Articles as well.

      Reproduced on:
      Result Rankings development branch

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                joshua.chong Joshua Chong
                Participants of an Issue:
                Recent user:
                Kevin Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  12 weeks, 1 day ago

                  Packages

                  Version Package