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

CMIS query returns all versions even though searchAllVersions is set to false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5
    • Component/s: CMIS
    • Environment:
      Nuxeo 5.4.2 VM
      Apache Chemistry 0.5

      Description

      I have uploaded a document with name About Stacks.pdf and edited it few times always incrementing the version number.

      When I run following query it will return all versions of the document as result.

      ItemIterable<QueryResult> queryResults = session.query("SELECT cmis:objectId FROM cmis:document WHERE ((cmis:name LIKE 'About%') OR (cmis:createdBy LIKE 'About%'))", false);

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: