jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3182) SQL2 Parser fails for some version paths
Date Thu, 15 Dec 2011 15:32:30 GMT

     [ https://issues.apache.org/jira/browse/JCR-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Parvulescu updated JCR-3182:
---------------------------------

    Component/s: query
                 jackrabbit-jcr-commons
    
> SQL2 Parser fails for some version paths
> ----------------------------------------
>
>                 Key: JCR-3182
>                 URL: https://issues.apache.org/jira/browse/JCR-3182
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons, query
>            Reporter: Alex Parvulescu
>            Priority: Minor
>         Attachments: JCR-3182-test.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message