Evict primary key in deepRemoveNode(). Fixes bug 668 by making sure removed group nodes are not cached.

This commit is contained in:
hns 2009-07-30 09:04:43 +00:00
parent cfae145756
commit 507da18a8b

View file

@ -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);
} }