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:12:47 UTC
[jira] [Created] (JCR-3639) VersionLabelTest adds label to root
version
Marcel Reutegger created JCR-3639:
-------------------------------------
Summary: 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
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