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
"