Marcel Reutegger created OAK-8691: ------------------------------------- Summary: Incorrect base state from node builder Key: OAK-8691 URL: https://issues.apache.org/jira/browse/OAK-8691 Project: Jackrabbit Oak Issue Type: Bug Components: documentmk Affects Versions: 1.18.0 Reporter: Marcel Reutegger Assignee: Marcel Reutegger
The following sequence will give an incorrect base state: {noformat} NodeState s1 = ...; NodeBuilder b1 = s1.builder(); b1.child("foo"); NodeState s2 = b1.getNodeState(); NodeBuilder b2 = s2.builder(); NodeState base = b2.getBaseState(); {noformat} The NodeState {{base}} should reflect {{s2}}, but instead is equal to {{s1}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)