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

Version tree may become inconsistent after removing a version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.35, 1.2.21, 1.4.10, 1.5.14
    • Fix Version/s: 1.0.36, 1.2.22, 1.4.11, 1.5.15, 1.6.0
    • Component/s: jcr
    • Labels:
      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
          Stephan Matschinsky
        4. OAK-5193-fix-v5.groovy
          12 kB
          Robert wunsch
        5. version-histories.png
          17 kB
          Tomek Rękawek

          Activity

            People

            • Assignee:
              tomek.rekawek Tomek Rękawek
              Reporter:
              tomek.rekawek Tomek Rękawek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: