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

Page Scoped Entities (wiki, blog, calendar, image gallery, doc lib, message boards, etc) are not visible when searching via the Search Portlet and choosing "this community" as the scope.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.2.3
    • Fix Version/s: 6.0.0 Preview
    • Component/s: None
    • Labels:
      None
    • Environment:
      trunk, 5.2.x
    • Branch Version/s:
      5.2.x
    • Backported to Branch:
      Committed

      Description

      lets say that there is a community that has a wiki with page scope. if i go to that community.. and add a search portlet.. and select "this community", and search.. that wiki should show up in my results.. but it will not.

      basically, anything that is "page scoped" will never show up in a the search portlet when selecting "this community".. even if i an in that particular community. the reason is because of the way we use the groupId in the index.

      if we chose page scope, when we index a wiki.. the value of groupId is the layoutGroupId not the community/org groupId.

      we cant simply change the value of groupId to be the community/org groupId because when we do a search in the wiki portlet itself. the query is "portletId: 36 AND groupId=123 AND .. [search terms here] (where 123 is the layoutGroupId)

      it expects the groupId to be the layoutGroupId.. since the search needs a way to differentiate it from the other wikis in that group.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wesley.gong Wesley Gong
              Reporter:
              scott.lee Scott Lee
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 24 weeks, 6 days ago

                  Packages

                  Version Package
                  6.0.0 Preview