fixed getParent() for transient nodes

This commit is contained in:
hns 2001-08-05 21:19:58 +00:00
parent 30759aefda
commit b185131a54

View file

@ -646,7 +646,7 @@ public final class Node implements INode, Serializable {
parentInfo = dbmap.getParentInfo ();
// check if current parent candidate matches presciption, if not, try to get it
if (parentInfo != null) {
if (parentInfo != null && state != TRANSIENT) {
for (int i=0; i<parentInfo.length; i++) {
ParentInfo pinfo = parentInfo[i];
INode pn = getNode (pinfo.propname, false);