You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Michael Brackx (JIRA)" <ji...@apache.org> on 2013/07/24 15:07:50 UTC
[jira] [Created] (CMIS-693) cannot select cmis:objectId for
secondary types
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