[ 
https://issues.apache.org/jira/browse/SLING-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869999#action_12869999
 ] 

Justin Edelson commented on SLING-1527:
---------------------------------------

fixed in r947026

> resourceResolver.listChildren() doesn't handle non-default workspace nodes
> --------------------------------------------------------------------------
>
>                 Key: SLING-1527
>                 URL: https://issues.apache.org/jira/browse/SLING-1527
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Justin Edelson
>             Fix For: JCR Resource 2.0.8
>
>
> if passed a resource from a non-default workspace, 
> resourceResolver.listChildren() returns an empty list. This is because 
> non-default workspace nodes are wrapped and thus not castable to 
> JcrItemResource, which causes JcrResourceProvider to try to retreive the node 
> path INCLUDING the workspace prefix from the JCR repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to