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

Make folder predicate IN_TREE work with a qualifier

    XMLWordPrintable

    Details

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

      Description

      The following query SELECT cmis:name FROM cmis:folder F WHERE IN_TREE(F, 'fid') is not working and we get the stacktrace:

      "
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException. message: Unknown node type: 63 (F)
      at org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker.walkOtherExpr(AbstractPredicateWalker.java:141)
      at org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker.walkExpr(AbstractPredicateWalker.java:135)
      at org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker.walkInTree(AbstractPredicateWalker.java:248)
      at org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker.walkPredicate(AbstractPredicateWalker.java:91)
      at org.apache.chemistry.opencmis.server.support.query.CmisQueryWalker.query(CmisQueryWalker.java:263)
      at org.nuxeo.ecm.core.opencmis.impl.server.CMISQLQueryMaker.buildQuery(CMISQLQueryMaker.java:195)
      ... 97 more
      "

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: