REQ-3540: fix bug
This commit is contained in:
parent
8efeef9431
commit
8f1ae5aba2
@ -211,7 +211,7 @@ public class IndexManager {
|
||||
.mapToInt(Node::getLevel) //
|
||||
.max() //
|
||||
.orElse(0);
|
||||
indexSupport.validateDepthWhenAddChild(parent.path().depth() + subtreeMaxDepth);
|
||||
indexSupport.validateDepthWhenAddChild(parent.path().depth() + subtreeMaxDepth + 1);
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user