Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8517

cmis:isLatestVersion is lacking a SystemColumn mapping in CMISQueryMaker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.2
    • Component/s: CMIS

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: