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: article1 appears (removal will be handled with LPS-109639)
        Actual resultarticle1 appears
      6. Navigate to the Result Rankings portlet and edit the article1 result ranking
        Expected result: article1 appears and is pinned with "deleted" label (removal will be handled with LPS-109639)
        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: article1 appears. (removal will be handled with LPS-109639)
        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:
              brooke.dalton Brooke Dalton
              Reporter:
              joshua.chong Joshua Chong
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP8
                  7.2.10.2 DXP SP3
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master