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

Documents and Media searchs in other folders out of the configured as root folder

    Details

      Description

      • Steps in 6.2.x *

      1. Add folder1 and folder2 to the root folder (home) to the DM of a site (from control panel), and folder11 and folder12 as subfolders of folder1.

      2. Add the next documents:

      file-1.txt to the folder1
      file-11.txt to the folder11
      file-12.txt to the folder12.
      file-2.txt to the folder2

      3. Add the DM portlet to a page, and configure setting the folder1 as the root folder of this DM.

      4. Search by the word "file" using the DM search bar.
      Results -> file-1.txt, file-11.txt and file-12.txt

      5. Go into folder12, and search "file".
      Results -> file-12.txt

      6. Click in "Search Everywere"
      Results -> file-1.txt, file-11.txt, file-12.txt, file-2.txt.
      Expected -> file-1.txt, file-11.txt, file-12.txt because this DM is limited to the folder1.

      STEPS TO REPRODUCE IN 6.1.X

      Search in folders is not recursive in 6.1.x, this was introduced as a new feature in LPS-22629 that could't be backported, so the reproduction steps are others:

      1. Add folder1 and folder2 to the root folder (home) to the DM of a site (from control panel), and folder11 and folder12 as subfolders of folder1.

      2. Add the next documents:

      file-1.txt to the folder1
      file-11.txt to the folder11
      file-12.txt to the folder12.
      file-2.txt to the folder2

      3. Add the DM portlet to a page, and configure setting the folder1 as the root folder of this DM.

      4. Search by the word "file" using the DM search bar.
      Results -> file-1.txt

      5. Go into folder12, and search "file".
      Results -> file-12.txt

      6. Click in "Search Everywere"
      Results -> file-1.txt, file-11.txt, file-12.txt, file-2.txt.
      Expected -> file-1.txt because this DM is limited to the folder1 and this is the file in the rootFolder

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1