Use Relation.createOnDemand() to find out if we should do a NodeManager.getNode[ByRelation]()
in Node.getProperty(). This was there in the old version of Node.getProperty() but was kicked out in the recent rewrite, which caused NodeManager.getNode() to be called when it shouldn't.
This commit is contained in:
parent
9d6bd72355
commit
2a8a21f822
1 changed files with 1 additions and 2 deletions
|
@ -1671,8 +1671,7 @@ public final class Node implements INode, Serializable {
|
|||
if (rel == null && dbmap != null && state != TRANSIENT) {
|
||||
rel = dbmap.getSubnodeRelation();
|
||||
|
||||
if (rel != null && rel.otherType != null &&
|
||||
(rel.groupby != null || rel.accessName != null)) {
|
||||
if (rel != null && rel.createOnDemand()) {
|
||||
Node n = nmgr.getNode(this, propname, rel);
|
||||
|
||||
if (n != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue