Fix bug 256: Replicated Mountpoint has null NodeManager.
This commit is contained in:
parent
2f39d4f908
commit
4c94cba091
1 changed files with 5 additions and 1 deletions
|
@ -1702,9 +1702,13 @@ public final class Node implements INode, Serializable {
|
|||
} else if (propRel != null && propRel.isVirtual()) {
|
||||
// prop was found and explicit property relation is collection -
|
||||
// this is a collection node containing objects stored in the embedded db
|
||||
INode pn = prop.getNodeValue();
|
||||
Node pn = (Node) prop.getNodeValue();
|
||||
if (pn != null) {
|
||||
// do set DbMapping for embedded db collection nodes
|
||||
pn.setDbMapping(propRel.getVirtualMapping());
|
||||
// also set node manager in case this is a mountpoint node
|
||||
// that came in through replication
|
||||
pn.nmgr = nmgr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue