jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3639) VersionLabelTest adds label to root version
Date Wed, 07 Aug 2013 12:30:49 GMT

     [ 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

Mime
View raw message