[ https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-8691: ---------------------------------- Fix Version/s: 1.20.0 Affects Version/s: 1.10.0 1.12.0 1.14.0 1.16.0 Labels: candidate_oak_1_10 (was: ) > 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.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0 > Reporter: Marcel Reutegger > Assignee: Marcel Reutegger > Priority: Major > Labels: candidate_oak_1_10 > Fix For: 1.20.0 > > > 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)