jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: undo deletion of a node (re-post)
Date Mon, 05 May 2008 06:41:26 GMT
Hi,

On Thu, May 1, 2008 at 10:36 PM, Rob Esposito <rob@txcore.com> wrote:
>  The other approach we've been using is to store the state of the node just
>  before deletion using Session.exportSystemView and to bring it back using
>  Session.importXML.  The problem with this method is that, after an
>  importXML, the restored node is checked out with base version set to
>  rootVersion.  The expectation is that the user will have to check this node
>  back in and the version history will branch each time this happens.

Hmm, the system view export should contain the jcr:baseVersion
property which the import should be able to connect back to the
correct entry in the version history. Please file a bug if it doesn't.

BR,

Jukka Zitting

Mime
View raw message