Evict primary key in deepRemoveNode(). Fixes bug 668 by making sure removed group nodes are not cached.
This commit is contained in:
parent
cfae145756
commit
507da18a8b
1 changed files with 4 additions and 1 deletions
|
@ -1434,8 +1434,11 @@ public final class Node implements INode, Serializable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// mark the node as deleted
|
// mark the node as deleted and evict its primary key
|
||||||
setParent(null);
|
setParent(null);
|
||||||
|
if (primaryKey != null || state != TRANSIENT) {
|
||||||
|
nmgr.evictKey(getKey());
|
||||||
|
}
|
||||||
markAs(DELETED);
|
markAs(DELETED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue