XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • jcr
    • None

    Description

      Fix for the failing tck test NodeNameTest, as marked in the oak-jcr pom file.

      NodeName comparison with REFERENCE must fail with InvalidQueryException
      

      Query:

      select * from [nt:unstructured] AS [s] where (ISCHILDNODE([s], [/testroot])) AND (NAME([s]) = CAST('80e7a0cd-943b-4861-b996-8c3567be2736' AS REFERENCE))
      

      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.

      Attachments

        1. OAK-473.patch
          3 kB
          Alex Deparvu

        Activity

          People

            thomasm Thomas Mueller
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: