jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-601) Node#getVersionHistory fails with UnsupportedRepositoryOperationException
Date Tue, 07 May 2013 09:33:15 GMT

     [ https://issues.apache.org/jira/browse/OAK-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger reassigned OAK-601:
------------------------------------

    Assignee: Marcel Reutegger
    
> 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
>
> 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

Mime
View raw message