jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Help on versioning
Date Wed, 16 Sep 2009 10:56:13 GMT
On Wed, Sep 16, 2009 at 12:46, freak182 <eman.nollase@gmail.com> wrote:
>            Node fileContent = file.addNode("jcr:content", "nt:resource");
>            fileContent.addMixin(JcrConstants.MIX_VERSIONABLE);
> ...
> javax.jcr.UnsupportedRepositoryOperationException: Unable to perform a
> versioning operation on a non versionable node: node
> /photo/upload/test/Sangat_Island.jpg

>From looking at the path, it looks very much like you make the
jcr:content subnode versionable, but not the nt:file node
(Sangat_Island.jpg).

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message