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] [Created] (JCR-3639) VersionLabelTest adds label to root version
Date Wed, 07 Aug 2013 12:12:47 GMT
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

Mime
View raw message