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

Duplicate results when searching for web content articles in another site

    Details

      Description

      Steps

      1. Set the following in portal-ext.properties:
        journal.articles.search.with.index=false
      2. Start portal and sign in.
      3. Go to Admin > Control Panel > Sites
      4. Create a site "Site 1"
      5. Go to Admin > Site Administration > Content > Pages
      6. Add a public page "Page 1"
      7. Go to Admin > Control Panel > Sites
      8. Create a site "Site 2"
      9. Go to Admin > Site Administration > Content > Web Content
      10. Add a Web Content Article "Web Content on Site 2"
      11. Go to Admin > Control Panel > Users
      12. Add a new user to the portal
      13. Add the new user to "Site 1" and "Site 2"
      14. Assign the "Site Administrator" role to the new user on "Site 1"
      15. Log out
      16. Log in as the new user
      17. Navigate to "Page 1" on "Site 1"
      18. Add a Web Content Display portlet on "Page 1"
      19. Click on the gear icon to open the configuration dialog for the Web Content Display portlet
      20. Click on the magnifying glass icon on the search bar
      21. Select "Site 2" under the My Sites select box
      22. Click on the "Search" button on the search bar
      23. Observe that "Web Content 2" appears twice in the search results

      Expected
      The article is displayed once.
      Result
      The article is displayed twice.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              steven.gao Steven Gao (Inactive)
              Reporter:
              preston.crary Preston Crary
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 8 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 CE GA1
                  Master