When a version is removed, its predecessors and successors are connected together, to keep the version tree consistent. However, if the removed version predecessor has its own successors, they are replaced with the removed version successors. Similarly, if the removed version successor has its own predecessors, they'll be replaced with the removed version predecessors.
They should be merged together, instead.
- relates to
OAK-9567 Avoid NullPointerException in ReadWriteVersionManager.removeVersion