Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-1012

OpenCMIS query parser does not allow selecting secondary properties in simple queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • OpenCMIS 1.0.0
    • OpenCMIS 1.1.0
    • opencmis-server
    • None

    Description

      The query parser in OpenCMIS allows only to select properties which are part of a type that is mentioned in a FROM or JOIN statement. It is not possible to retrieve properties from secondary types when doing a simple query on a primary type (unless you use SELECT *).

      Example:
      SELECT cmis:name, cmis:objectId, mySecondaryProperty FROM cmis:document WHERE cmis:createdBy = 'joe'

      fails to parse with
      mySecondaryProperty is not a property query name in any of the types in from

      Attachments

        Activity

          People

            Unassigned Unassigned
            jenshuebel Jens Hübel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: