You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:19:37 UTC

[sling-org-apache-sling-bundleresource-impl] 20/30: SLING-1674 - adding mapped path handling of parent path

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.bundleresource.impl-2.0.6
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-bundleresource-impl.git

commit 28e8a3898c4076a07425e9326ac83c040ef01bab
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Fri Aug 20 15:27:51 2010 +0000

    SLING-1674 - adding mapped path handling of parent path
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/bundleresource@987545 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/bundleresource/impl/BundleResourceIterator.java   | 3 +++
 1 file changed, 3 insertions(+)

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 @@ class BundleResourceIterator implements Iterator<Resource> {
             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();
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.