You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/05/07 11:49:15 UTC
[jira] [Resolved] (OAK-601) Node#getVersionHistory fails with
UnsupportedRepositoryOperationException
[ https://issues.apache.org/jira/browse/OAK-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved OAK-601.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.8
Enabled test with http://svn.apache.org/r1479831
No change to the versioning code was needed. The issue was probably fixed by other changes.
> Node#getVersionHistory fails with UnsupportedRepositoryOperationException
> -------------------------------------------------------------------------
>
> Key: OAK-601
> URL: https://issues.apache.org/jira/browse/OAK-601
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: jcr
> Reporter: angela
> Assignee: Marcel Reutegger
> Fix For: 0.8
>
>
> the following test fails with
> "UnsupportedRepositoryOperationException: Node does not have a version history: /testroot"
> although the version history exists and is accessible both by
> UUID and from the jcr VersionManager.
> {code}
> @Test
> public void testGetVersionHistoryFromNode() throws Exception {
> testRootNode.addMixin(JcrConstants.MIX_VERSIONABLE);
> superuser.save();
> VersionHistory vh = testRootNode.getVersionHistory();
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira