jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: Does versioning work on WebDAV?
Date Tue, 29 Jul 2008 07:16:00 GMT
hi paco

> How versioning works with WebDAV? 

do you mean in general?
-> http://www.webdav.org/specs/rfc3253.html

> If I upload a file to Jackrabbit
> repository using WebDAV, and edit it the document version is increased?

it depends... rfc3253 defines a property called 'DAV:auto-version'
that is required with all version-controlled resources.
http://www.webdav.org/specs/rfc3253.html#PROPERTY_auto-version

depending on it's value, checkin/checkout is done automatically
or needs to be called explicitelly by the client.

the simple-server currently requires an explicit call to
checkout-checkin i.e. it does not know any of the
DAV:auto-version variants.

and there is already an issue in jira asking for an
improvement of this:
http://issues.apache.org/jira/browse/JCR-1348

btw: in case your webdav-resource isn't a version-controlled
resource yet (the underlying node is not mix:versionable), you
may add version-control by a VERSION-CONTROL request.
see:
http://www.webdav.org/specs/rfc3253.html#METHOD_VERSION-CONTROL

hope that helps
angela






Mime
View raw message