jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r929540 - /jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java
Date Wed, 31 Mar 2010 13:56:18 GMT
Author: angela
Date: Wed Mar 31 13:56:18 2010
New Revision: 929540

URL: http://svn.apache.org/viewvc?rev=929540&view=rev
Log:
JCR-2589: WebDav MKCOL on a directory that already exists generates a IllegalStateException

Modified:
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java?rev=929540&r1=929539&r2=929540&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java
Wed Mar 31 13:56:18 2010
@@ -540,6 +540,7 @@ abstract public class AbstractWebdavServ
         // shortcut: mkcol is only allowed on deleted/non-existing resources
         if (resource.exists()) {
             response.sendError(DavServletResponse.SC_METHOD_NOT_ALLOWED);
+            return;
         }
 
         if (request.getContentLength() > 0 || request.getHeader("Transfer-Encoding") !=
null) {



Mime
View raw message