Hi,
oak now has rep:VersionablePaths which record the paths (per
workspace) of the versionable node.
I think this is wrong to store this on the nt:versionHistory node,
since a node can be moved in between checkins. so I think it should be
recorded on the nt:version node.
I also find it dangerous to just use the workspace name as property
name for the path, as it makes it harder to list the paths, if ever a
workspace is removed or renamed (not that this is supported). also, it
does not work with "funny" workspace names, such as: "jcr:uuid" :-)
I suggest the following structure:
/jcr:system/jcr:versionStorage/..../ [nt:versionHistory]
/1.0 [nt:version]
/rep:versionablePaths
+ workspace1name "/path/..."
+ workspace2name "/path/..."
+ workspace3name "/path/..."
OR a MV value:
/jcr:system/jcr:versionStorage/..../ [nt:versionHistory]
/1.0 [nt:version]
+ rep:versionablePaths [
"workspace1name/path/",
"workspace2name/path/",
"workspace3name/path/"
]
WDYT?
Regards, Toby