[Bedework-commit] webdav r242 - trunk/server/src/edu/rpi/cct/webdav/servlet/common

svnadmin at bedework.org svnadmin at bedework.org
Thu Sep 16 10:42:13 EDT 2010


Author: douglm
Date: 2010-09-16 10:42:13 -0400 (Thu, 16 Sep 2010)
New Revision: 242

Modified:
   trunk/server/src/edu/rpi/cct/webdav/servlet/common/ReportMethod.java
Log:
Some fixes to icalendar translation to XML

Fix up the POST method so it can handle CalDAV queries for the web service

Fix up the REPORT method so it works when I do that

Modified: trunk/server/src/edu/rpi/cct/webdav/servlet/common/ReportMethod.java
===================================================================
--- trunk/server/src/edu/rpi/cct/webdav/servlet/common/ReportMethod.java	2010-09-15 15:05:08 UTC (rev 241)
+++ trunk/server/src/edu/rpi/cct/webdav/servlet/common/ReportMethod.java	2010-09-16 14:42:13 UTC (rev 242)
@@ -84,11 +84,15 @@
     /* Get hold of the PROPFIND method instance - we need it to process
        possible prop requests.
      */
+    /*
     pm = (PropFindMethod)getNsIntf().getMethod("PROPFIND");
 
     if (pm == null) {
       throw new WebdavException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
     }
+    */
+    pm = new PropFindMethod();
+    pm.init(getNsIntf(), debug, true);
 
     Document doc = parseContent(req, resp);
 



More information about the Bedework-commit mailing list