Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3639

VersionLabelTest adds label to root version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • jackrabbit-jcr-tests
    • None

    Description

      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:

      @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>).
      

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: