jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Hugonnet <ehsavoi...@gmail.com>
Subject Re: Simle versionable node state is invalid
Date Wed, 01 Aug 2012 08:58:23 GMT
On Tue, Jul 24, 2012 at 11:09 AM, Emmanuel Hugonnet
<ehsavoie73@gmail.com> wrote:
> Hi,
> I'm doing some simple test and I 'm getting a strange Invalid State
> error message.
> All of this is done in the same session, with only one thread
> I create a node with the simple_versionable mixin, then I check it in
> and I try to get its version history which returns an Invalid State
> error.
I need to save the session before checking in.

> If I save the session before reading the history all is ok.
> Since I am in the same session, shouldn't the 'local' history be available ?
>
> Also VersionHistory seems to have a remove() method inherited from
> Node. If I remove he VersionHistory, are all the related versions
> removed also ?
No :(

>
> Thanks,
> Emmanuel

Mime
View raw message