Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8691

Incorrect base state from node builder

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
    • Fix Version/s: 1.20.0, 1.10.7
    • Component/s: documentmk
    • Labels:
      None

      Description

      The following sequence will give an incorrect base state:

      NodeState s1 = ...;
      NodeBuilder b1 = s1.builder();
      b1.child("foo");
      NodeState s2 = b1.getNodeState();
      NodeBuilder b2 = s2.builder();
      NodeState base = b2.getBaseState();
      

      The NodeState base should reflect s2, but instead is equal to s1.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mreutegg Marcel Reutegger
              Reporter:
              mreutegg Marcel Reutegger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment