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

Unexpected result of MicroKernel#getJournal after MicroKernel#merge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.3
    • mk
    • None

    Description

      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"

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: