jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hang <jh...@bea.com>
Subject Version history - paths and node types
Date Wed, 01 Nov 2006 22:09:38 GMT

I noticed that when traversing a node's version history by calling
Node.getVersionHistory(), the versions returned contains paths and node
types of the node in the version workspace, not in the workspace of the node
that was versioned.  So calling Version.getPath() returns something like
"/jcr:system/jcr:versionStorage/b1/5352456..." and calling
Version.getPrimaryNodeType() returns "nt:version".

I assume this is because the path and type of a node is not part of its
state?  Is there a way to get this information in the version history
besides having to store the path and type as properties of the node?

View this message in context: http://www.nabble.com/Version-history---paths-and-node-types-tf2556306.html#a7123665
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message