Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
JCR Resource 2.5.0
-
None
-
AEM 6.1 running JCR Resource 2.5.0 on MongoMK.
Description
The following code appears to generate incorrect paths that when given to other bundles that dont expect messy paths causes problems.
Iterator<Resource> i = resourceResolver.getResource("/").listChildren(); while(i.hasNext()) { LOGGER.info("Child Path {} ",i.next().getPath()); }
Produces
...
//etc
...
/content
...
/libs
The // on some of the root resources causes issues.
Might be Oak related.
Attachments
Issue Links
- duplicates
-
SLING-4588 JcrNodeResourceIterator : wrong paths generated when the parent resource is the root node.
- Closed