Print out a warning if a collection specified in a _parent descriptor does not exist.

This commit is contained in:
hns 2004-02-11 15:06:23 +00:00
parent 82c0524e00
commit f6b9841947

View file

@ -737,6 +737,9 @@ public final class Node implements INode, Serializable {
// see if dbmapping specifies anonymity for this node
if (pinfo.virtualname != null) {
pn = pn.getNode(pinfo.virtualname);
if (pn == null)
System.err.println("Error: Can't retrieve parent "+
"node "+pinfo+" for "+this);
}
DbMapping dbm = (pn == null) ? null : pn.getDbMapping();