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

Daniel Platon updated SLING-5028:
---------------------------------
    Description: 
Running a query that uses a WHERE condition returns no results when using 
JCR_JACKRABBIT provider. 

The query 
{{SELECT * FROM [nt:unstructured] as N}} returns the correct number of results. 
However, running {{SELECT * FROM [nt:unstructured] as N WHERE 
ISDESCENDANTNODE(N,"/content')}} returns no results.

I've set up a small project to illustrate this at 
https://github.com/dplaton/sling-testing

  was:
Running a query that uses a WHERE condition returns no results when using 
JCR_JACKRABBIT provider. 

The query 
{{SELECT * FROM [nt:unstructured] as N}} return the correct number of results. 
However, running {{SELECT * FROM [nt:unstructured] as N WHERE 
ISDESCENDANTNODE(N,"/content')}} returns no results.

I've set up a small project to illustrate this at 
https://github.com/dplaton/sling-testing


> [Sling Mocks] Running a query with condition doesn't return any results
> -----------------------------------------------------------------------
>
>                 Key: SLING-5028
>                 URL: https://issues.apache.org/jira/browse/SLING-5028
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Testing Sling Mock 1.5.0
>            Reporter: Daniel Platon
>
> Running a query that uses a WHERE condition returns no results when using 
> JCR_JACKRABBIT provider. 
> The query 
> {{SELECT * FROM [nt:unstructured] as N}} returns the correct number of 
> results. 
> However, running {{SELECT * FROM [nt:unstructured] as N WHERE 
> ISDESCENDANTNODE(N,"/content')}} returns no results.
> I've set up a small project to illustrate this at 
> https://github.com/dplaton/sling-testing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to