stupid lack-of-sleep error in previous commit
This commit is contained in:
parent
3571fe1b07
commit
55718abcc3
1 changed files with 1 additions and 1 deletions
|
@ -787,7 +787,7 @@ public final class Node implements INode, Serializable {
|
||||||
|
|
||||||
if (!"root".equalsIgnoreCase (node.getPrototype ())) {
|
if (!"root".equalsIgnoreCase (node.getPrototype ())) {
|
||||||
// avoid calling getParent() because it would return bogus results for the not-anymore transient node
|
// avoid calling getParent() because it would return bogus results for the not-anymore transient node
|
||||||
Node nparent = node.parentHandle == null ? null : node.parentHanldle.getNode ();
|
Node nparent = node.parentHandle == null ? null : node.parentHandle.getNode (nmgr);
|
||||||
// if the node doesn't have a parent yet, or it has one but it's transient while we are
|
// if the node doesn't have a parent yet, or it has one but it's transient while we are
|
||||||
// persistent, make this the nodes new parent.
|
// persistent, make this the nodes new parent.
|
||||||
if (nparent == null || (state != TRANSIENT && nparent.getState () == TRANSIENT)) {
|
if (nparent == null || (state != TRANSIENT && nparent.getState () == TRANSIENT)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue