jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: versionable file
Date Wed, 13 Aug 2008 17:50:14 GMT
On Wed, Aug 13, 2008 at 7:41 PM, Michael Harris
<michael.e.harris@gmail.com> wrote:
> If one has a versionable file, do they *have* to use checkin/checkout to
> modify the file content?
>
> I can save a file just fine, but when I try to update it (that is, overwrite
> the data property of the content node) the update doesn't take.

A versionable node must be checked out if you want to modify it (or
one of its properties).

Have a look at the JCR spec, section 8.2 Versioning [1].

[1] http://jcp.org/en/jsr/detail?id=170

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message