Print out a warning if a collection specified in a _parent descriptor does not exist.
This commit is contained in:
parent
82c0524e00
commit
f6b9841947
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue