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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2012/06/05 16:13:22 UTC

[jira] [Created] (OAK-130) Unexpected behavior of MicroKernelImpl.merge

Thomas Mueller created OAK-130:
----------------------------------

             Summary: Unexpected behavior of MicroKernelImpl.merge
                 Key: OAK-130
                 URL: https://issues.apache.org/jira/browse/OAK-130
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mk
            Reporter: Thomas Mueller
            Priority: Minor


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

        

[jira] [Assigned] (OAK-130) Unexpected behavior of MicroKernelImpl.merge

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg reassigned OAK-130:
-------------------------------------

    Assignee: Stefan Guggisberg
    
> Unexpected behavior of MicroKernelImpl.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
>
> 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

        

[jira] [Updated] (OAK-130) Unexpected result of MicroKernel#getJournal after MicroKernel#merge

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg updated OAK-130:
----------------------------------

    Summary: Unexpected result of MicroKernel#getJournal after MicroKernel#merge  (was: Unexpected behavior of MicroKernelImpl.merge)
    
> 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
>
> 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

        

[jira] [Resolved] (OAK-130) Unexpected result of MicroKernel#getJournal after MicroKernel#merge

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ 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