jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Unable to save node?
Date Mon, 15 Dec 2008 22:20:37 GMT
Hi,

On Mon, Dec 15, 2008 at 11:07 PM, Dave Fried <dfried@phoenix-int.com> wrote:
> I'm not sure what I'm doing wrong here.  Is it possible at all to modify the
> subtree of the repository rooted at the Version node returned by checkin()?

No, you're not supposed to modify the version nodes (they are "frozen"
for a reason).

If you want to store extra metadata with a version, you can simply add
normal properties to the node being versioned and set those properties
*before* you call checkin(). Those properties will then become a part
of the immutable version.

BR,

Jukka Zitting

Mime
View raw message