[
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