jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: session.move issues
Date Tue, 16 Mar 2010 13:29:14 GMT
hi chad

On Mon, Mar 15, 2010 at 10:44 PM, ChadDavis <chadmichaeldavis@gmail.com> wrote:
> I'm getting an exception on session.save() after session.move().
>
> Here's some pseudo code just to verify that my approach is correct.
>
> oldNode = session.getNode("/a/b");
>
> session.move( oldNode.getPath(), "/a/c" );
>
> newNode = session.getNode( "/a/c" );
>
> session.save()
>
>
> The save throws javax.jcr.PathNotFoundException on the path "/a/b",
> which is the old node.
>
> Should this work?
>

definitely. please create a jira issue and if possible provide a
simple test case
which demonstrates the issue. please also provide detailed information
about your environment (versions, deployment model, remoting stack etc).

thanks
stefan

Mime
View raw message