Applied fix from Juerg Lehni for parents defined as COMPLEX_REFERENCE that
was posted on September 19 and somehow fell through the gutter.
This commit is contained in:
parent
0c9ecfd10d
commit
18922d4e37
1 changed files with 2 additions and 1 deletions
|
@ -723,7 +723,8 @@ public final class Node implements INode, Serializable {
|
||||||
// we only try to fetch a node if an explicit relation is specified for the prop name
|
// we only try to fetch a node if an explicit relation is specified for the prop name
|
||||||
Relation rel = dbmap.propertyToRelation(pinfo.propname);
|
Relation rel = dbmap.propertyToRelation(pinfo.propname);
|
||||||
|
|
||||||
if ((rel != null) && (rel.reftype == Relation.REFERENCE)) {
|
if ((rel != null) && (rel.reftype == Relation.REFERENCE ||
|
||||||
|
rel.reftype == Relation.COMPLEX_REFERENCE)) {
|
||||||
pn = getNode(pinfo.propname);
|
pn = getNode(pinfo.propname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue