Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-544

JCR-Server: Workspace.restore not mapped correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9, 1.0, 1.0.1, 1.1, 1.1.1
    • 1.2.1
    • jackrabbit-webdav
    • None

    Description

      (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.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: