incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r699297 - /incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java
Date Fri, 26 Sep 2008 12:28:01 GMT
Author: fmeschbe
Date: Fri Sep 26 05:28:00 2008
New Revision: 699297

URL: http://svn.apache.org/viewvc?rev=699297&view=rev
Log:
SLING-668 Apply patch by Alexander Klimetschek (Thanks for providing)

Modified:
    incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java

Modified: incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java?rev=699297&r1=699296&r2=699297&view=diff
==============================================================================
--- incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java
(original)
+++ incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/AbstractSlingPostOperation.java
Fri Sep 26 05:28:00 2008
@@ -74,7 +74,9 @@
 
         // parent location
         path = ResourceUtil.getParent(path);
-        response.setParentLocation(externalizePath(request, path));
+        if (path != null) {
+            response.setParentLocation(externalizePath(request, path));
+        }
 
         Session session = request.getResourceResolver().adaptTo(Session.class);
 



Mime
View raw message