You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/20 17:49:35 UTC

svn commit: r387245 - /lenya/trunk/src/modules/webdav/sitemap.xmap

Author: thorsten
Date: Mon Mar 20 08:49:34 2006
New Revision: 387245

URL: http://svn.apache.org/viewcvs?rev=387245&view=rev
Log:
Bug 39016
  [WebDAV] 500 Internal Server Error when checking in files with Dreamweaver
  Patch submitted by Jonathan Addison
Thanks Jonathan Addison.

Modified:
    lenya/trunk/src/modules/webdav/sitemap.xmap

Modified: lenya/trunk/src/modules/webdav/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/sitemap.xmap?rev=387245&r1=387244&r2=387245&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/sitemap.xmap (original)
+++ lenya/trunk/src/modules/webdav/sitemap.xmap Mon Mar 20 08:49:34 2006
@@ -235,7 +235,19 @@
       </map:match>
             
       <map:match pattern="DELETE/**">
-        <map:call function="remove" />
+        <map:match pattern="DELETE/**_*.html">
+          <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+            <map:call function="remove" />
+          </map:act>
+        </map:match>
+        <map:match pattern="DELETE/**">
+          <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}">
+            <map:call function="remove" />
+          </map:act>
+        </map:match>
+        <!-- does not exist -->
+        <map:generate src="context://lenya/content/util/empty.xml"/>
+        <map:serialize status-code="200"/>
       </map:match> 
                         
       <map:match pattern="LOCK/**">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org