Michael Brackx created CMIS-693:
-----------------------------------

             Summary: cannot select cmis:objectId for secondary types
                 Key: CMIS-693
                 URL: https://issues.apache.org/jira/browse/CMIS-693
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.9.0
            Reporter: Michael Brackx


There is a problem with the special virtual column cmis:objectId for secondary 
object types.
Example query: "SELECT cmis:objectId FROM cmis:rm_clientMgtRetention"
Error: Walking of statement failed with RecognitionException error: 
   cmis:objectId is not a property query name in any of the types in from ...
Using version 0.9.0.

QueryObject.resolveTypeForColumnReference() does not have special handling for 
object id.
There is special handling in validateColumnReferenceAndResolveType(), but 
before you get there you hit a normal 
TypeValidator.typeContainsPropertyWithQueryName().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to