incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r612817 - /incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
Date Thu, 17 Jan 2008 13:55:20 GMT
Author: bdelacretaz
Date: Thu Jan 17 05:54:01 2008
New Revision: 612817

URL: http://svn.apache.org/viewvc?rev=612817&view=rev
Log:
SLING-149 - merge usling into Sling - temp fix for /* resource

Modified:
    incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java

Modified: incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java?rev=612817&r1=612816&r2=612817&view=diff
==============================================================================
--- incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
(original)
+++ incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
Thu Jan 17 05:54:01 2008
@@ -164,7 +164,8 @@
             currentPath = currentPath.substring(0,dotPos);
         }
 
-        final String starSuffix = "/*";
+        // TODO in microsling this was /* but that causes problems as * is not a valid JCR
path - temp fix for now
+        final String starSuffix = "/UJAX_create";
         if(currentPath.endsWith(starSuffix)) {
             // If the path ends with a *, create a node under its parent, with
             // a generated node name



Mime
View raw message