[Cosmo-dev] [Fwd: [commits-cosmo] (bcm) [3520] dav paths are at
/dav, not /home]
Jared Rhine
jared at wordzoo.com
Tue Jan 30 15:46:55 PST 2007
It's believed (through testing) that this patch removes backwards
compatibility for /cosmo/home/ URLs that we've said are required to
support an osaf.us update to 0.6 without forcing everyone to change
their clients all at once.
Could we get an enhancement to preserve backwards compatibility? Or an
explanation of how our testing is incorrect and backwards compatibility
already works?
Adam's opening a bug...
Thanks.
-- Jared
-------- Original Message --------
Subject: [commits-cosmo] (bcm) [3520] dav paths are at /dav, not /home
Date: Tue, 30 Jan 2007 11:21:03 -0800 (PST)
From: svncheckin at osafoundation.org
To: commits-cosmo at osafoundation.org
Revision
3520 <http://cvs.osafoundation.org/viewcvs.cgi?rev=3520&view=rev>
Author
bcm
Date
2007-01-30 11:21:03 -0800 (Tue, 30 Jan 2007)
Log Message
dav paths are at /dav, not /home
Modified Paths
*
cosmo/trunk/src/main/java/org/osaf/cosmo/dav/impl/DavCalendarCollection.java
<#cosmotrunksrcmainjavaorgosafcosmodavimplDavCalendarCollectionjava>
* cosmo/trunk/src/main/resources/applicationContext.xml
<#cosmotrunksrcmainresourcesapplicationContextxml>
* cosmo/trunk/src/main/webapp/WEB-INF/web.xml
<#cosmotrunksrcmainwebappWEBINFwebxml>
Diff
Modified:
cosmo/trunk/src/main/java/org/osaf/cosmo/dav/impl/DavCalendarCollection.java
(3519 => 3520)
---
cosmo/trunk/src/main/java/org/osaf/cosmo/dav/impl/DavCalendarCollection.java
2007-01-30 01:42:58 UTC (rev 3519)
+++
cosmo/trunk/src/main/java/org/osaf/cosmo/dav/impl/DavCalendarCollection.java
2007-01-30 19:21:03 UTC (rev 3520)
@@ -98,9 +98,8 @@
registerLiveProperty(MAXRESOURCESIZE);
int cc =
ResourceType.registerResourceType(ELEMENT_CALDAV_CALENDAR,
- NAMESPACE_CALDAV);
+ NAMESPACE_CALDAV);
RESOURCE_TYPES = new int[] { ResourceType.COLLECTION, cc };
-
DEAD_PROPERTY_FILTER.add(CalendarCollectionStamp.class.getName());
}
Modified: cosmo/trunk/src/main/resources/applicationContext.xml
(3519 => 3520)
--- cosmo/trunk/src/main/resources/applicationContext.xml 2007-01-30
01:42:58 UTC (rev 3519)
+++ cosmo/trunk/src/main/resources/applicationContext.xml 2007-01-30
19:21:03 UTC (rev 3520)
@@ -474,7 +474,7 @@
<bean id="davLocatorFactory"
class="org.osaf.cosmo.dav.impl.StandardLocatorFactory">
<constructor-arg>
- <value>/home</value>
+ <value>/dav</value>
</constructor-arg>
<constructor-arg>
<value>/feed/atom/1.0</value>
Modified: cosmo/trunk/src/main/webapp/WEB-INF/web.xml (3519 =>
3520)
--- cosmo/trunk/src/main/webapp/WEB-INF/web.xml 2007-01-30 01:42:58 UTC
(rev 3519)
+++ cosmo/trunk/src/main/webapp/WEB-INF/web.xml 2007-01-30 19:21:03 UTC
(rev 3520)
@@ -159,7 +159,7 @@
</filter-mapping>
<filter-mapping>
<filter-name>dav-security</filter-name>
- <url-pattern>/home/*</url-pattern>
+ <url-pattern>/dav/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>dav-security</filter-name>
@@ -286,7 +286,7 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>dav</servlet-name>
- <url-pattern>/home/*</url-pattern>
+ <url-pattern>/dav/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>cmp</servlet-name>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file:///tmp/nsmail.txt
Type: application/x-download
Size: 177 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20070130/23e49c20/nsmail.bin
More information about the cosmo-dev
mailing list