You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Rafael Chaves (JIRA)" <ji...@apache.org> on 2016/04/07 17:54:25 UTC

[jira] [Created] (JCR-3960) cannot PROPATCH on directories

Rafael Chaves created JCR-3960:
----------------------------------

             Summary: 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)