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:
hns 2003-12-01 13:42:11 +00:00
parent 0c9ecfd10d
commit 18922d4e37

View file

@ -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
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);
}