[ https://issues.apache.org/jira/browse/OAK-6877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-6877.
---------------------------------
Bulk close 1.7.11
> NodeBuilder#isReplaced behaves incorrectly for SegmentNodeStore
> ---------------------------------------------------------------
>
> Key: OAK-6877
> URL: https://issues.apache.org/jira/browse/OAK-6877
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Chetan Mehrotra
> Assignee: Michael Dürig
> Priority: Minor
> Fix For: 1.8, 1.7.11
>
> Attachments: OAK-6877-v1.patch
>
>
> As seen in OAK-6876 NodeBuilder reports incorrectly for isReplaced call. Following test
fails for Segment fixture
> {noformat}
> @Test
> public void isReplacedBehaviour() throws Exception{
> NodeBuilder nb = store.getRoot().builder();
> nb.child("a").setProperty("foo", "bar");
> store.merge(nb, EmptyHook.INSTANCE, CommitInfo.EMPTY);
> nb = store.getRoot().builder();
> nb.child("a").child("b");
> assertFalse(nb.getChildNode("a").isReplaced("foo"));
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
|