Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2000

Bundle downgrade will uninstall newer version instead of actually "update" to the old version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Installer Core 3.1.2
    • Installer Core 3.2.0
    • Installer
    • None

    Description

      Placing a bundle – say Sling Script JavaScript 2.0.10 – in a JCR Install supervised folder will install this bundle
      Placing a newer version into the same folder – say Sling Script JavaScript 2.0.12 – while leaving the older version will upgrade the bundle to the new version.
      Now removing the newer version from the folder again should actually downgrade the bundle to the previous version again.

      What instead happens is that the new version is uninstalled and the old version is freshly installed.

      The problem with this is that it might render Configuration Admin configuration unusable (since it may be bound to the old bundle's bundle location) and it will remove any bundle private data which might have been preserved in a simple bundle "upgrade".

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: