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

Ian Boston resolved SLING-5005.
-------------------------------
       Resolution: Duplicate
    Fix Version/s: JCR Resource 2.5.2

Yes, thanks, fixed in 2.5.2

> Root Resource lists child Resource paths incorrecty
> ---------------------------------------------------
>
>                 Key: SLING-5005
>                 URL: https://issues.apache.org/jira/browse/SLING-5005
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: JCR Resource 2.5.0
>         Environment: AEM 6.1 running JCR Resource 2.5.0 on MongoMK.
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: JCR Resource 2.5.2
>
>
> The following code appears to generate incorrect paths that when given to 
> other bundles that dont expect messy paths causes problems.
> {code}
> Iterator<Resource>  i = resourceResolver.getResource("/").listChildren();
> while(i.hasNext()) {
>   LOGGER.info("Child Path {} ",i.next().getPath());
> }
> {code}
> Produces
> {code}
> ...
> //etc
> ...
> /content
> ...
> /libs
> {code}
> The // on some of the root resources causes issues.
> Might be Oak related.



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

Reply via email to