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] [Resolved] (CMIS-693) cannot select cmis:objectId for secondary types
Date Wed, 24 Jul 2013 14:03:48 GMT

     [ https://issues.apache.org/jira/browse/CMIS-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Brackx resolved CMIS-693.
---------------------------------

    Resolution: Not A Problem

the example query is invalid

<table name>  ::= <identifier> !! This MUST be the name of a primary object-type.

                
> 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