You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/08/07 14:30:49 UTC

[jira] [Resolved] (JCR-3639) VersionLabelTest adds label to root version

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

Marcel Reutegger resolved JCR-3639.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.1

Fixed in revision: http://svn.apache.org/r1511281
                
> VersionLabelTest adds label to root version
> -------------------------------------------
>
>                 Key: JCR-3639
>                 URL: https://issues.apache.org/jira/browse/JCR-3639
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.7
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 2.7.1
>
>
> The VersionLabelTest in the TCK uses the root version of a version history to add a label. This is actually prohibited by the specification and should throw a VersionException. VersionHistory.addVersionLabel() says:
> {code}
> @throws VersionException - if the specified version does not exist in this
>                                           version history or if the specified version is the root version
>                                            (<code>jcr:rootVersion</code>).
> {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