OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (CMIS-565) 3.3.3.1 getChildrenorderBy Input needs significant clarification


3.3.3.1 getChildren orderBy Input needs significant clarification
-----------------------------------------------------------------

                 Key: CMIS-565
                 URL: http://tools.oasis-open.org/issues/browse/CMIS-565
             Project: OASIS Content Management Interoperability Services (CMIS) TC
          Issue Type: Bug
          Components: Domain Model
    Affects Versions: Draft 0.70
            Reporter: Ryan McVeigh
            Assignee: Ethan Gur-esh


The orderBy parameter is not described except to say "see ORDER BY clause in query". The ORDER BY clause is defined in two places (it is not clear which is being referenced) - one is the BNF which simply defines its grammar, the other is section 2.10.2.5, which says:

          All column names referenced in this clause MUST be valid "queryName" or their aliased values for properties defined as orderable in the Object-type(s) whose Virtual Tables are listed in the FROM clause.
          Only columns in the SELECT clause MAY be in the ORDER BY clause.

       

      None of that applies to getChildren, because:
          o There is no FROM clause
          o Even ignoring that, there is no single Object-Type being returned here, as the children of a folder are of heterogeneous types (there is not even a cmis root type to capture them all)
          o There is no SELECT clause
          o Even ignoring that, there is no place where a list of usable property names can be obtained for ordering the results of the service
          o There are no aliases

How does orderBy work?
          o What properties are allowed?
          o How are objects whose types don't define an orderBy property ordered (first? last? excluded?)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]