jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Kratz" <thomas.kr...@eiswind.de>
Subject Stuck with Versioning
Date Sun, 23 Nov 2008 11:39:38 GMT


I'm trying to get going with some simple Versioning. I ve been struggling
for six hours now and since I'm not getting along with google I hope someone
can help me.


I have nodes of nt:unstructured, that have nt:file childnodes with
corresponding nt:resource nodes.


To be honest I don't have a clue if this is a good strategy at all.Basically
I need to store files with some attributes that are subject to change.


Now I want the containing nt:unstructured node to be the root of a versioned
subtree. I added mix:versionable, that's fine, but the child nodes don't get
versioned. I found some information on default OPV, so I tried to add
mix:versionable to the child nodes. Don't know if this is a good idea.


Now I strangely already have a strange Version when I first save the
nt:unstructured (don't understand that at all). When I create a new version
of the node, it now seems to have nt:file child but that still lacks an
jcr:content property.


If I can get any hints on existing documentation or if my concept makes
sense at all that would be gladly appreciated.


Regards Thomas

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