jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Harris" <michael.e.har...@gmail.com>
Subject Re: versionable file
Date Wed, 13 Aug 2008 18:46:09 GMT
Ive played around with it a bit more -- I tried doing checkout operations on
a file that i did not add the versionable mixin to and I was surprised to
see it did not throw an exception (something like "cannot checkout something
that is not versionable).

On Wed, Aug 13, 2008 at 1:50 PM, Alexander Klimetschek <aklimets@day.com>wrote:

> 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
>



-- 
---------------------
Michael Harris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message