sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r1606124 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Date Fri, 27 Jun 2014 15:24:00 GMT
Author: justin
Date: Fri Jun 27 15:23:59 2014
New Revision: 1606124

URL: http://svn.apache.org/r1606124
Log:
SLING-3707 - comparing redirect against actual content path, not path with jcr:content

Modified:
    sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java?rev=1606124&r1=1606123&r2=1606124&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Fri Jun 27 15:23:59 2014
@@ -306,7 +306,7 @@ public class MapEntries implements Event
                 for (Iterator<MapEntry> iterator =entries.iterator(); iterator.hasNext();
) {
                     MapEntry entry = iterator.next();
                     String redirect = getMapEntryRedirect(entry);
-                    if (redirect != null && redirect.equals(path)) {
+                    if (redirect != null && redirect.equals(actualContentPath)) {
                         iterator.remove();
                     }
                 }



Mime
View raw message