cmis:isLatestVersion is lacking a SystemColumn mapping in CMISQueryMaker
------------------------------------------------------------------------

                 Key: CMIS-39
                 URL: https://jira.nuxeo.com/browse/CMIS-39
             Project: Nuxeo Chemistry
          Issue Type: Bug
            Reporter: Olivier Grisel
            Assignee: Florent Guillaume
            Priority: Major


When trying to add a WHERE clause such as "SELECT * FROM cmis:document WHERE 
cmis:isLatestVersion = true", one get the following error:

Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.query.QueryParseException. message: Cannot use column in 
WHERE clause: cmis:isLatestVersion
        at 
org.nuxeo.ecm.core.opencmis.impl.server.CMISQLQueryMaker.recordSelector(CMISQLQueryMaker.java:672)
        at 
org.nuxeo.ecm.core.opencmis.impl.server.CMISQLQueryMaker.buildQuery(CMISQLQueryMaker.java:214)
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.ResultSetQueryResult.<init>(ResultSetQueryResult.java:58)
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.queryAndFetch(JDBCMapper.java:772)
        ... 112 more


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to