You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2012/06/14 13:39:42 UTC
[jira] [Resolved] (OAK-130) Unexpected result of
MicroKernel#getJournal after MicroKernel#merge
[ https://issues.apache.org/jira/browse/OAK-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg resolved OAK-130.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.3
fixed in svn r1350198
> Unexpected result of MicroKernel#getJournal after MicroKernel#merge
> -------------------------------------------------------------------
>
> Key: OAK-130
> URL: https://issues.apache.org/jira/browse/OAK-130
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mk
> Reporter: Thomas Mueller
> Assignee: Stefan Guggisberg
> Priority: Minor
> Fix For: 0.3
>
>
> There is an unexpected behavior for the following test case:
> String branch = mk.branch(head);
> branch = mk.commit("/", "+\"branch\": {}", branch, "");
> head = mk.commit("/", "+\"head\": {}", head, "");
> head = mk.merge(branch, "");
> String n = mk.getNodes("/", head, 10, 0, 10, "");
> String j = mk.getJournal(first, head, "/");
> getNodes returns both nodes ("branch" and "head"), but
> getJournal returns +"/head":{}, >"/head":"/branch"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira