You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/05/21 16:38:16 UTC

[jira] Resolved: (SLING-1527) resourceResolver.listChildren() doesn't handle non-default workspace nodes

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

Justin Edelson resolved SLING-1527.
-----------------------------------

    Resolution: Fixed

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