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

Result Rankings: Pinned and Hidden results do not account for versioned assets

Details

    Description

      Steps to reproduce (for pinning):

      1. Create a Web Content Article titled: article1
      2. Navigate to Result Rankings portlet and create a new result ranking with the query article and default index
      3. Pin the result for article1
      4. Back in the Web Content admin portlet, edit article1, add some content and save
      5. Navigate to the Result Rankings portlet and edit the article1 result ranking
        Actual resultarticle1 appears as a search result twice.
      6. On the Portal home page, search for article
        Actual resultarticle1 appears as a search result twice. One result shows the pinned pre-modified version (without added content), the other result shows the modified version (with the added content)

       


       
      Steps to reproduce (for hiding):

      1. Create a Web Content Articles titled: article1
      2. Navigate to Result Rankings portlet and create a new result ranking with the query article and default index
      3. Hide the result for article1
      4. Back in the Web Content admin portlet, edit article1, add some content and save
      5. Navigate to the Result Rankings portlet and edit the article1 result ranking
        Expected result: No results appear under the Visible tab. article1 appears under the Hidden tab
        Actual resultarticle1 appears under the Visible tab AND Hidden tab
      6. On the Portal home page, search for article
        Expected result: No results appear since article1 is hidden
        Actual resultarticle1 appears as a search result in its post-modified state (with added content)

      Note: This is reproducible with Web Content Articles because it has versioning, but it is NOT reproducible with Blogs as that does not support versioning.

      Reproduced on:
      Result Rankings development branch

      Attachments

        Issue Links

          Activity

            People

              team-search Product Team Search
              joshua.chong Joshua Chong
              Kiyoshi Lee Kiyoshi Lee
              Gustavo Lima Gustavo Lima
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                18 weeks, 6 days ago

                Packages

                  Version Package