Details
Description
VersionHistory.removeVersion() allows to remove a version of a checked in node still referencing that version. This results in a dangling base version.
This is caused by a more general issue in the ReferenceEditor, which does not enforce referential integrity in some cases.