jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-473) Query tck test NodeNameTest fix
Date Mon, 03 Dec 2012 14:45:59 GMT

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

Thomas Mueller resolved OAK-473.
--------------------------------

    Resolution: Fixed

Revision 1416548 (oak-core) and 
revision 1416550 (oak-jcr; enable tests)
                
> Query tck test NodeNameTest fix
> -------------------------------
>
>                 Key: OAK-473
>                 URL: https://issues.apache.org/jira/browse/OAK-473
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: jcr
>            Reporter: Alex Parvulescu
>            Assignee: Thomas Mueller
>         Attachments: OAK-473.patch
>
>
> Fix for the failing tck test {{NodeNameTest}}, as marked in the oak-jcr pom file.
> {code}
> NodeName comparison with REFERENCE must fail with InvalidQueryException
> {code}
> Query:
> {code}
> select * from [nt:unstructured] AS [s] where (ISCHILDNODE([s], [/testroot])) AND (NAME([s])
= CAST('80e7a0cd-943b-4861-b996-8c3567be2736' AS REFERENCE))
> {code}
> In Jackrabbit:  {{LuceneQueryFactory#getNodeNameQuery}} throws {{InvalidQueryException("Invalid
name value: " + string)}} for any of the following value types: PropertyType.DOUBLE, PropertyType.DECIMAL,
PropertyType.LONG, PropertyType.BOOLEAN, PropertyType.REFERENCE, PropertyType.WEAKREFERENCE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message