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

Version tree may become inconsistent after removing a version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.35, 1.2.21, 1.4.10, 1.5.14
    • 1.0.36, 1.2.22, 1.4.11, 1.5.15, 1.6.0
    • jcr
    • None

    Description

      When a version is removed, its predecessors and successors are connected together, to keep the version tree consistent. However, if the removed version predecessor has its own successors, they are replaced with the removed version successors. Similarly, if the removed version successor has its own predecessors, they'll be replaced with the removed version predecessors.

      They should be merged together, instead.

      Attachments

        1. OAK-5193-fix.groovy
          12 kB
          Tomek Rękawek
        2. OAK-5193-fix-v2.groovy
          13 kB
          Andrew Khoury
        3. OAK-5193-fix-v4.groovy
          12 kB
          smatsch
        4. OAK-5193-fix-v5.groovy
          12 kB
          Robert wunsch
        5. version-histories.png
          17 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              tomek.rekawek Tomek Rękawek
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: