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

svnadmin at bedework.org svnadmin at bedework.org
Thu Apr 5 15:24:09 EDT 2007


Author: douglm
Date: 2007-04-05 15:24:09 -0400 (Thu, 05 Apr 2007)
New Revision: 83

Modified:
   trunk/server/src/edu/rpi/cct/webdav/servlet/common/PrincipalMatchReport.java
Log:
Fix bug when checking subscribed calendar

Also fix webdav principal-match

Modified: trunk/server/src/edu/rpi/cct/webdav/servlet/common/PrincipalMatchReport.java
===================================================================
--- trunk/server/src/edu/rpi/cct/webdav/servlet/common/PrincipalMatchReport.java	2007-03-25 03:05:58 UTC (rev 82)
+++ trunk/server/src/edu/rpi/cct/webdav/servlet/common/PrincipalMatchReport.java	2007-04-05 19:24:09 UTC (rev 83)
@@ -67,6 +67,9 @@
    */
   public boolean whoami;
 
+  /** Property we're supposed to match on */
+  public Element principalProperty;
+
   /** Properties to return (none for empty collection)
    */
   public Collection<WebdavProperty> props = new ArrayList<WebdavProperty>();
@@ -130,7 +133,7 @@
           // use when processing.
           whoami = true;
         } else {
-          throw new WebdavBadRequest();
+          principalProperty = ppchildren[0];
         }
       } else if (WebdavTags.self.nodeMatches(curnode)) {
         if (debug) {



More information about the Bedework-commit mailing list