Committing Daniel's proposed fix for bug 295:
http://helma.org/bugs/show_bug.cgi?id=295
This commit is contained in:
parent
f2ad5ea065
commit
d8e86948db
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue