Bertrand Delacretaz created SLING-3076:
------------------------------------------

             Summary: ScriptableTestsProvider query on sling:Test mixin fails 
on Oak
                 Key: SLING-3076
                 URL: https://issues.apache.org/jira/browse/SLING-3076
             Project: Sling
          Issue Type: Bug
          Components: Oak
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor


The /jcr:root/apps//element(*, sling:Test) query in the ScriptableTestsProvider 
class returns nothing even though we have

curl -u admin:admin 
http://localhost:8080/apps/testing/sling/scripted-tests/resourceresolver-api.tidy.json
{
  "jcr:primaryType": "sling:Folder",
  "jcr:mixinTypes": ["sling:Test"],
  "jcr:createdBy": "admin",
  "jcr:created": "Tue Sep 17 2013 17:20:55 GMT+0200",
  "sling:resourceType": "testing/sling/scripted-tests/resourceresolver-api"
}

I have added a similar test to the SLING-2788 SlingRepositoryITBase and it 
passes, but that's but using a builtin mixin (mix:title), I'll need to verify 
that with a custom mixin.

--
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

Reply via email to