jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r697795 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Date Mon, 22 Sep 2008 12:34:45 GMT
Author: reschke
Date: Mon Sep 22 05:34:45 2008
New Revision: 697795

URL: http://svn.apache.org/viewvc?rev=697795&view=rev
Log:
JCR-1733: bugfix: DAV:resource-id contains URI embedded into DAV:href

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java?rev=697795&r1=697794&r2=697795&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Mon Sep 22 05:34:45 2008
@@ -58,6 +58,7 @@
 import org.apache.jackrabbit.webdav.property.DavPropertyNameSet;
 import org.apache.jackrabbit.webdav.property.DavPropertySet;
 import org.apache.jackrabbit.webdav.property.DefaultDavProperty;
+import org.apache.jackrabbit.webdav.property.HrefProperty;
 import org.apache.jackrabbit.webdav.property.ResourceType;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -368,7 +369,7 @@
         }
 
         if (rfc4122Uri != null) {
-            properties.add(new DefaultDavProperty(DavPropertyName.RESOURCEID, rfc4122Uri,
true));
+            properties.add(new HrefProperty(DavPropertyName.RESOURCEID, rfc4122Uri, true));
         }
 
         /* set current lock information. If no lock is set to this resource,



Mime
View raw message