Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
-
Exists in 2.2.4 version of code base (as well as 2.3)
Description
In method protected void internalRestoreFrozen(NodeStateEx state,
InternalFrozenNode freeze,
VersionSelector vsel,
Set<InternalVersion> restored,
boolean removeExisting,
boolean copy)
in the VersionManagerImplRestore class line 557 the code performs an == instead of calling the NodeId.equals() method. We ran into problems with the code that executes below this (trying to restore a folder node throws an ItemExistsException since same sibling not allowed on folder nodes)
Attachments
Issue Links
- is duplicated by
-
JCR-2912 VersionManager.restore fails with ItemExitsException although the removeExisting parameter is set to true
- Closed