[ http://issues.apache.org/jira/browse/JCR-544?page=all ]

angela resolved JCR-544.
------------------------

    Resolution: Fixed

fixed

note, that this change modified the structure exposed by the jcr-server: 
workspace resource and the resource representing the root node are now distinct 
dav resources.



> JCR-Server: Workspace.restore not mapped correctly
> --------------------------------------------------
>
>                 Key: JCR-544
>                 URL: http://issues.apache.org/jira/browse/JCR-544
>             Project: Jackrabbit
>          Issue Type: Bug
>            Reporter: angela
>         Assigned To: angela
>
> (issue reported by David Kennedy)
> Workspace.restore(Version[], boolean) won't work, since versions are not 
> retrieved correctly. The version history that can be access from the request  
> resource, cannot be used to retrieve the versions needed for a 
> workspace.restore call.
> possible short term fix:
> From the version-hrefs present in the request body of the UPDATE request, 
> version resources must be built and
> the corresponding version item retrieved.
> alternative:
> find a proper mapping for Workspace.restore(Version[], boolean). having 
> UPDATE on a resource representing a javax.jcr.Node being mapped to a 
> workspace.restore is odd.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to