fixed getParent() for transient nodes
This commit is contained in:
parent
30759aefda
commit
b185131a54
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ public final class Node implements INode, Serializable {
|
||||||
parentInfo = dbmap.getParentInfo ();
|
parentInfo = dbmap.getParentInfo ();
|
||||||
|
|
||||||
// check if current parent candidate matches presciption, if not, try to get it
|
// 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++) {
|
for (int i=0; i<parentInfo.length; i++) {
|
||||||
ParentInfo pinfo = parentInfo[i];
|
ParentInfo pinfo = parentInfo[i];
|
||||||
INode pn = getNode (pinfo.propname, false);
|
INode pn = getNode (pinfo.propname, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue