* Issue a prominent warning if parent can't be resolved using a prototype's _parent setting

This commit is contained in:
hns 2006-08-10 21:23:49 +00:00
parent c32fec5dde
commit 5924f93f81

View file

@ -819,6 +819,10 @@ public final class Node implements INode, Serializable {
lastParentSet = System.currentTimeMillis();
}
}
if (parentHandle == null && !nmgr.isRootNode(this)) {
nmgr.nmgr.app.logEvent("*** Couldn't resolve parent for " + this);
nmgr.nmgr.app.logEvent("*** Please check _parent info in type.properties!");
}
}
// fall back to heuristic parent (the node that fetched this one from db)