Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
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>).