jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: Multi-version restore withWebDAV VersionControlledItemCollection.update
Date Fri, 18 Aug 2006 08:17:20 GMT
hi david

i opened a new jira issue for this.

JCR-544 JCR-Server: Workspace.restore not mapped correctly


David Kennedy wrote:
> The WebDAV multi-version restore code in 
> VersionControlledItemCollection.update method is suspicious.  The code is 
> trying to restore by label or by name.  If multiple version hrefs are 
> supplied or if multiple labels are supplied, the code will use the 
> multi-version restore method of Workspace.  The problem is that the 
> versions are all retrieved for the same node and you can't have more than 
> one version of the same node in a workspace.  The multi-version restore 
> method is intended for cross node dependencies.  To enable the 
> multi-version restore the body needs to support fully qualified version 
> name and labels.  You could argue that the version href already does so, 
> however you'd assume the name is the version label and what's preceding it 
> would be the itemPath (currently thrown out) to the actual node.  However 
> this would be a bit of a hack.  It seems as though the body structure 
> needs to change a bit to truly support multi-version restore.
> David

View raw message