chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brackx (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-693) cannot select cmis:objectId for secondary types
Date Wed, 24 Jul 2013 13:07:50 GMT
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

Mime
View raw message