Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
Description
This is the SQL2 query that is failing at the moment:
SELECT NODE.* FROM [nt:base] AS NODE WHERE ISCHILDNODE(NODE, [/jcr:system/jcr:versionStorage/17/66/ea/1766eaef-f0f5-4cf6-95ef-a1d7290257f9])
I've seen that while running some queries on the versioning store.
Stacktrace:
SELECT * FROM [nt:base] as NODE WHERE ischildnode(NODE, [/jcr:system/jcr:versionStorage/17/66/ea/(*)1766eaef-f0f5-4cf6-95ef-a1d7290257f9])
at org.apache.jackrabbit.commons.query.sql2.Parser.getSyntaxError(Parser.java:978)
at org.apache.jackrabbit.commons.query.sql2.Parser.getSyntaxError(Parser.java:959)
at org.apache.jackrabbit.commons.query.sql2.Parser.readDecimal(Parser.java:937)
at org.apache.jackrabbit.commons.query.sql2.Parser.read(Parser.java:846)
at org.apache.jackrabbit.commons.query.sql2.Parser.readAny(Parser.java:667)
at org.apache.jackrabbit.commons.query.sql2.Parser.readName(Parser.java:158)
at org.apache.jackrabbit.commons.query.sql2.Parser.readPath(Parser.java:384)
at org.apache.jackrabbit.commons.query.sql2.Parser.parseConditionFuntionIf(Parser.java:365)
at org.apache.jackrabbit.commons.query.sql2.Parser.parseCondition(Parser.java:258)
at org.apache.jackrabbit.commons.query.sql2.Parser.parseAnd(Parser.java:241)
at org.apache.jackrabbit.commons.query.sql2.Parser.parseConstraint(Parser.java:233)
at org.apache.jackrabbit.commons.query.sql2.Parser.createQueryObjectModel(Parser.java:117)
at org.apache.jackrabbit.commons.query.sql2.SQL2QOMBuilder.createQueryObjectModel(SQL2QOMBuilder.java:55)
at org.apache.jackrabbit.core.query.QOMQueryFactory.createQuery(QOMQueryFactory.java:70)
at org.apache.jackrabbit.core.query.CompoundQueryFactory.createQuery(CompoundQueryFactory.java:67)
at org.apache.jackrabbit.core.query.QueryManagerImpl$2.perform(QueryManagerImpl.java:95)
at org.apache.jackrabbit.core.query.QueryManagerImpl$2.perform(QueryManagerImpl.java:1)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.query.QueryManagerImpl.perform(QueryManagerImpl.java:197)
at org.apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:91)
at org.apache.jackrabbit.core.cluster.DbClusterTestJCR3162.checkConsistency(DbClusterTestJCR3162.java:177)