Julian Reschke wrote:
Michael Wechner wrote:IIUC in the most simple case one can donode.getVersionHistory().getRootVersion() in order to get the "newest" (most recent) version, right?No, that would be the oldest one, me thinks. I think what you need is: node.getBaseVersion().
that's not 100% correct either. this give you the version this node is based on. but that doesn't guarantee that this is the newest one. that base version may have successor versions that are newer.
regards marcel
