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

Installer blacklist, to avoid reinstalling older bundles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Installer Core 3.6.6
    • Installer Core 3.7.0
    • Installer
    • None

    Description

      In case a bundle has mutliple install candiates only the highest version (with the highest priorty for the same versions) wins. An uninstall directive in the Sling bootstrap.txt file or provisioning model uninstalls this version. The way the OSGi install behavior is defined this lets the next artifact in the priority queue to get active and consequently only leads to downgrade to the next in the queue.

      As the uninstall directive declares a range that should be uninstalled the expectation is that after a startup with such an uninstall directive none of the declared versions are in an installed state. In consequence the OSGi installer must save this metainformation in the state that prevents a downgrade to a version that is part of an active uninstall directive.

      Attachments

        1. SLING-5014-1.diff
          50 kB
          Dominik Süß

        Activity

          People

            cziegeler Carsten Ziegeler
            dsuess Dominik Süß
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: