You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Rob Owen (JIRA)" <ji...@apache.org> on 2005/08/11 19:08:54 UTC

[jira] Commented: (JCR-175) Contrib JCR-Server: enable PROPPATCH for simple-davresource

    [ http://issues.apache.org/jira/browse/JCR-175?page=comments#action_12318510 ] 

Rob Owen commented on JCR-175:
------------------------------

doPropPatch in AbstractWebdavServlet still needs to send back a multistatus (207) response even in the successful case. 

I didn't see a way to collect the success/failure status for each property, but instead created a multistatus response and added a propstat (SC_OK) for each of the properties in the setProperties and removeProperties. This allowed a WebDAV client, which expected a multistatus response from PROPPATCH, to work correctly with jcr-server. In the more general case the actual property status code will need to be used .

> Contrib JCR-Server: enable PROPPATCH for simple-davresource
> -----------------------------------------------------------
>
>          Key: JCR-175
>          URL: http://issues.apache.org/jira/browse/JCR-175
>      Project: Jackrabbit
>         Type: Improvement
>     Reporter: angela
>     Assignee: angela
>     Priority: Minor

>
> implement as suggested:
> - jcr-properties are exposed as webdav properties
> - PROPPATCH is forwarded to javax.jcr.Property.setValue() and Item.remove()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira