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

Migrating node inheriting from mix:versionable without version history

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.1, 1.6.0
    • upgrade
    • None

    Description

      The OAK-3844 fixes the way in which the oak-upgrade migrates the mix:versionable nodes without version history, by displaying a warning and removing the mixin.

      There's a related case, in which the node without the version history isn't explicitly declared as mix:versionable, but the jcr:primaryType or one of the mixins inherits from the mix:versionable. In this case we can't simply remove the mixin. We should display a warning and create an empty version history.

      Attachments

        1. OAK-3910.patch
          11 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: