Details
-
Bug
-
Resolution: Done
-
Blocker
-
3.6.0.Final
-
None
-
None
Description
Got exception while restore a node which move its child node under a new added child node.
The node with key a7ca2377505d641b70ce97-9fba-4ef9-b573-a93ff077181c has been removed in this session..
Stacktrace follows:
212 | node in org.modeshape.jcr.AbstractJcrNode
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2113 | getProperties in ''
1406 | restoreProperties in org.modeshape.jcr.JcrVersionManager$RestoreCommand
1135 | execute in ''
894 | restore . . . . . in org.modeshape.jcr.JcrVersionManager
685 | restore in ''
45 | testVersion . . . in VersionService.groovy
8 | testVersion in VersionController.groovy
195 | doFilter . . . . in PageFragmentCachingFilter.java
63 | doFilter in AbstractFilter.java
1145 | runWorker . . . . in java.util.concurrent.ThreadPoolExecutor
615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
722 | run . . . . . . . in java.lang.Thread
I guess this is caused by the moved child node marked deleted because of the new parent is a new node and not present in the previous version, and it will be removed, also its new children will be removed.