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

CMIS searchs returns all the results without considering the folder

    Details

    • Epic/Theme:
    • Fix Priority:
      3

      Description

      Steps to reproduce the issue:

      1. Add an external repository (Alfresco)
      2. Browse inside the repository
      3. Go inside an empty folder
      4. Search for a document that it's outside that folder.

      Search will return the document although it shouldn't because it's outside the folder.

      This is CMIS query:

      00:17:24,446 DEBUG [CMISRepository:1521] CMIS search query: SELECT cmis:objectId, SCORE() AS HITS FROM cmis:document WHERE ((cmis:name LIKE 'b%') OR (cmis:createdBy LIKE 'b%')) ORDER BY HITS DESC

      There is no reference to the folder in the CMIS query.

        Attachments

          Activity

            People

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

              Dates

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