commit | f41d6bc2aa48fbb30585898298562a9944390ce9 | [log] [tgz] |
---|---|---|
author | Justin Edelson <justin@apache.org> | Fri Aug 20 15:27:51 2010 +0000 |
committer | Justin Edelson <justin@apache.org> | Fri Aug 20 15:27:51 2010 +0000 |
tree | b862835fbca1a16079726523057f2e1075908535 | |
parent | 152dcc642e0cbc200217161b88b79d4a6157d74a [diff] |
SLING-1674 - adding mapped path handling of parent path git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@987545 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java b/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java index de19d7d..2aadb26 100644 --- a/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java +++ b/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java
@@ -75,6 +75,9 @@ this.resourceResolver = parent.getResourceResolver(); this.bundle = parent.getBundle(); this.mappedPath = parent.getMappedPath(); + + parentPath = mappedPath.getEntryPath(parentPath); + this.entries = parent.getBundle().getEntryPaths(parentPath); this.prefixLength = parentPath.length();