On Tue, Mar 16, 2010 at 7:03 PM, ChadDavis <[email protected]> wrote: > JCR-2572 >
excellent, thanks! cheers stefan > On Tue, Mar 16, 2010 at 11:51 AM, ChadDavis <[email protected]> > wrote: >> I've narrowed down the scope of this issue. It seems that this occurs >> only when the nodes are mix:versionable. I'll enter the full details >> in Jira. >> >> On Tue, Mar 16, 2010 at 7:29 AM, Stefan Guggisberg >> <[email protected]> wrote: >>> hi chad >>> >>> On Mon, Mar 15, 2010 at 10:44 PM, ChadDavis <[email protected]> >>> 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 >>> >> >
