Ian Boston created SLING-5005:
---------------------------------

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


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