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 <[EMAIL PROTECTED]>wrote:

> On Wed, Aug 13, 2008 at 7:41 PM, Michael Harris
> <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
>



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

Reply via email to