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