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

VersionLabelTest adds label to root version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7.1
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: