[
https://issues.apache.org/jira/browse/JCR-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230697#comment-15230697
]
Rafael Chaves commented on JCR-3960:
------------------------------------
[[email protected]] I don't know. I am using vanilla standalone Jackrabbit
as my Webdav server. A propget (propfind) in cadaver shows:
{code}
propget dir1
Fetching properties for `dir1':
DAV: creationdate = 1970-01-01T00:00:00Z
DAV: lockdiscovery =
http://www.jcp.org/jcr/1.0 createdBy = admin
DAV: displayname = dir1
DAV: supportedlock =
<DAV:lockentry><DAV:lockscope><DAV:exclusive></DAV:exclusive></DAV:lockscope><DAV:locktype><DAV:write></DAV:write></DAV:locktype></DAV:lockentry>
DAV: getlastmodified = Thu, 07 Apr 2016 17:48:06 GMT
DAV: iscollection = 1
http://www.jcp.org/jcr/1.0 created = 2016-04-07T12:52:59.572-03:00
DAV: resourcetype = <DAV:collection></DAV:collection>
{code}
> cannot PROPATCH on directories
> ------------------------------
>
> Key: JCR-3960
> URL: https://issues.apache.org/jira/browse/JCR-3960
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-webdav
> Affects Versions: 2.12.1
> Environment: Linux
> Reporter: Rafael Chaves
>
> It seems it is not possible to set properties on directories using
> Jackrabbit's Webdav implementation.
> I tried both with a Java client (using the Sardine Webdav client) and the
> cadaver command line tool. In both cases I got a 207 status, with a nested
> 409 conflict.
> {code}
> $ cadaver http://localhost:8080/repository/default/
> Authentication required for Jackrabbit Webdav Server on server `localhost':
> Username: admin
> Password:
> dav:/repository/default/> mkdir dir1
> Creating `dir1': succeeded.
> dav:/repository/default/> propset dir1 foo bar
> Setting property on `dir1': failed:
> http://localhost:8080/repository/default/dir1/: 409 Conflict
> Setting property on `.': failed:
> http://localhost:8080/repository/default/work/tests/: 409 Conflict
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)