jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conoly, Brett" <Brett.Con...@digitalinsight.com>
Subject RE: node.getBaseVersion()
Date Thu, 07 Aug 2008 14:44:17 GMT
I think my problem wasn't that the base version wasn't returning a
version, it was that when there were no versions to return, the base
version was the root version and was throwing off my code when it was
trying to get the content.

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de] 
Sent: Thursday, August 07, 2008 10:24 AM
To: users@jackrabbit.apache.org
Subject: Re: node.getBaseVersion()

Conoly, Brett wrote:
> I'm pretty sure I've asked this before but I'm having trouble figuring
> out what the base version represents.  I assumed that the
> would return a Version but when I try to get the frozenNode ->
> jcr:content it throws a pathNotFound exception and I'm not sure why.
> Can anyone give me a better explination or at least point me to some
> decent documentation on this base version?

JSR 170. Really.

The root version is the root of the version history tree, and it's 
special in that it doesn't have a frozenNode child node.

BR, Julian

View raw message