Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.5, 2.6.5, 2.7.3
-
None
Description
When detaching a version history, the repair code removes the mix:versionable mixin. However, it leaves the jcr:uuid property alone. If the effective node type of the repaired node does not allow a jcr:uuid property, the node will be in an inconsistent state.
The existing tests in AutoFixCorruptNode did not uncover this because they use the default node type, nt:unstructured, in which case jcr:uuid falls back to a residual property.
The suggested fix (in addition to test inprovements) is to add the mix:referenceable mixin.