Skip to content

length tests failing with jackalope-jackrabbit #127

Closed
@dbu

Description

@dbu

jackalope-jackrabbit fails with the tests added in #123

2) PHPCR\Tests\Query\QuerySql2OperationsTest::testLengthOperandOnBinaryProperty

PHPCR\Query\InvalidQueryException: HTTP 400: Query:

        SELECT data.*
        FROM [nt:unstructured] AS data
        WHERE LENGTH(data.jcr:(*)data) = 121
          AND ISDESCENDANTNODE([/tests_general_base]); expected: )

as this is jackrabbit, i am pretty sure the problem is in the way we do the query. could the reuse of the name "data" for both the alias and the property be the issue? or the alias prefix + namespacing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions