Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27172

The search adapter is not taking the path of the current document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Rest API

      Description

      When I'm using the search from the workspace document

      GET LOCALHOST:8080/NUXEO/SITE/API/V1/PATH/DEFAULT-DOMAIN/WORKSPACES/WORKSPACE/@SEARCH?QUERY=SELECT * FROM DOCUMENT 

      The answer list documents which are located outside of the workspace document.

      This is not expected according to https://github.com/nuxeo/nuxeo/blob/d1daac705b6205ae9357aae7ffc099e859332173/nuxeo-features/rest-api/nuxeo-rest-api-server/src/main/java/org/nuxeo/ecm/restapi/server/jaxrs/adapters/SearchAdapter.java#L63

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gcarlin Gregory Carlin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: