Committing Daniel's proposed fix for bug 295:

http://helma.org/bugs/show_bug.cgi?id=295
This commit is contained in:
hns 2004-02-02 17:34:18 +00:00
parent f2ad5ea065
commit d8e86948db

View file

@ -748,7 +748,7 @@ public final class Node implements INode, Serializable {
pn = pn.getSubnode(getString(rel.propName)); pn = pn.getSubnode(getString(rel.propName));
} }
if (pn != null) { if (pn != null && pn.contains(this) >= 0) {
setParent((Node) pn); setParent((Node) pn);
lastParentSet = System.currentTimeMillis(); lastParentSet = System.currentTimeMillis();