adapted to fixed Node.getGroupbySubnode
This commit is contained in:
parent
0c85da040c
commit
0910855981
1 changed files with 3 additions and 1 deletions
|
@ -681,6 +681,7 @@ public final class NodeManager {
|
||||||
private Node getNodeByRelation (DbWrapper db, DbTxn txn, Node home, String kstr, Relation rel) throws Exception {
|
private Node getNodeByRelation (DbWrapper db, DbTxn txn, Node home, String kstr, Relation rel) throws Exception {
|
||||||
|
|
||||||
Node node = null;
|
Node node = null;
|
||||||
|
|
||||||
if (rel != null && rel.virtual && home.getState() != INode.VIRTUAL) {
|
if (rel != null && rel.virtual && home.getState() != INode.VIRTUAL) {
|
||||||
Key k = home.getKey ().getVirtualKey (kstr);
|
Key k = home.getKey ().getVirtualKey (kstr);
|
||||||
node = (Node) cache.get (k);
|
node = (Node) cache.get (k);
|
||||||
|
@ -712,7 +713,8 @@ public final class NodeManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (rel != null && rel.groupby != null) {
|
} else if (rel != null && rel.groupby != null) {
|
||||||
return home.getGroupbySubnode (kstr, rel);
|
return home.getGroupbySubnode (kstr);
|
||||||
|
|
||||||
} else if (rel == null || rel.other == null || !rel.other.isRelational ()) {
|
} else if (rel == null || rel.other == null || !rel.other.isRelational ()) {
|
||||||
node = db.getNode (txn, kstr);
|
node = db.getNode (txn, kstr);
|
||||||
node.nmgr = safe;
|
node.nmgr = safe;
|
||||||
|
|
Loading…
Add table
Reference in a new issue