jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCRRMI-18) Implement Workspace.restore()
Date Mon, 06 Apr 2009 13:21:12 GMT
Implement Workspace.restore()
-----------------------------

                 Key: JCRRMI-18
                 URL: https://issues.apache.org/jira/browse/JCRRMI-18
             Project: Jackrabbit JCR-RMI
          Issue Type: New Feature
            Reporter: Jukka Zitting


JCR-RMI always throws an UnsupportedRepositoryOperationException on the Workspace.restore()
method. This causes the following seven TCK test failures.

{noformat}
testWorkspaceRestoreWithPendingChanges(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.48 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreWithPendingChanges(WorkspaceRestoreTest.java:168)

testWorkspaceRestoreHasCorrespondingNode(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.578 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreHasCorrespondingNode(WorkspaceRestoreTest.java:182)

testWorkspaceRestoreWithParent(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.683 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Workspace.restore(Version[], boolean) with a version
that has no corresponding node must succeed if a version of a parent with correspondance is
present in the version array.
	at junit.framework.Assert.fail(Assert.java:47)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreWithParent(WorkspaceRestoreTest.java:204)

testWorkspaceRestoreWithRemoveExisting(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.762 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreWithRemoveExisting(WorkspaceRestoreTest.java:223)

testWorkspaceRestoreWithUUIDConflict(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.834 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreWithUUIDConflict(WorkspaceRestoreTest.java:245)

testWorkspaceRestoreOnCheckedInNode(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.904 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreOnCheckedInNode(WorkspaceRestoreTest.java:261)

testWorkspaceRestoreOnCheckedOutNode(org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest)
 Time elapsed: 38.971 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.client.ClientWorkspace.restore(ClientWorkspace.java:236)
	at org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest.testWorkspaceRestoreOnCheckedOutNode(WorkspaceRestoreTest.java:271)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message