You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2019/11/22 11:01:00 UTC

[jira] [Commented] (OAK-8691) Incorrect base state from node builder

    [ https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980064#comment-16980064 ] 

Julian Reschke commented on OAK-8691:
-------------------------------------

trunk: (1.20.0) [r1868708|http://svn.apache.org/r1868708] [r1868247|http://svn.apache.org/r1868247]
1.10: [r1870154|http://svn.apache.org/r1870154] (1.10.6) [r1868249|http://svn.apache.org/r1868249]
1.8: [r1868255|http://svn.apache.org/r1868255] [r1868250|http://svn.apache.org/r1868250]
1.6: [r1868256|http://svn.apache.org/r1868256] [r1868251|http://svn.apache.org/r1868251]
1.4: [r1868257|http://svn.apache.org/r1868257] [r1868252|http://svn.apache.org/r1868252]
1.2: [r1868258|http://svn.apache.org/r1868258] [r1868253|http://svn.apache.org/r1868253]
1.0: [r1868259|http://svn.apache.org/r1868259] [r1868254|http://svn.apache.org/r1868254]


> 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
>             Fix For: 1.20.0, 1.10.7
>
>
> 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)