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

Search show hidden FileEntry like blogs images

    Details

      Description

      Some kind of assets (Blogs, Wiki, ...) can handle attachments. These files are stored inside a PortletRepository that is an hidden folder inside DocumentStore.

      These files are indexed as part of the main asset and are marked as "hidden: true" or "visible: false" inside the index.

       

      In 6.2 DLFileEntryIndexer.postProcessContextQuery() hidden Term is always managed.

       

      In 7.0/DXP DLFileEntryIndexer.postProcessContextBooleanFilter() hidden Term is managed in the wrong way.

       

      To test it:

      1. start a clean 7.0 GA3 bundle
      2. add a blogs entry with a basic title and content (es: hello) and an image (in my scenario I've added an image named oscar.png)
      3. using the search portlet embedded in the page (near navigation) search "oscar"
      4. oscar.png appears as a Document result. And this is wrong because the images is indexed as "hidden: true"

       

        Attachments

          Activity

            People

            • Assignee:
              raven.song Raven Song
              Reporter:
              maumar Mauro Mariuzzo
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 15 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP20
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master