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

When comparing SNAPSHOT-versioned bundles, also check the Bnd-LastModified Header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Launchpad Base 2.1.0
    • Launchpad Base 2.2.0
    • Launchpad
    • None

    Description

      As an enhancement to the functionality provided with SLING-1162, if a bundle in resources/bundles/<startlevel> is already installed with the same version and the version ends in SNAPSHOT, if both bundles include a Bnd-LastModified header, use that header as an additional check.

      The current implementation fails under this use case:
      1) SNAPSHOT included in the WAR/JAR file.
      2) newer SNAPSHOT installed via console/shell
      3) App is restarted

      At this point, the original SNAPSHOT will be installed, not the newer one included.

      I'll have a patch for this soonish.

      Attachments

        1. SLING-1189.patch
          4 kB
          Justin Edelson

        Activity

          People

            fmeschbe Felix Meschberger
            justinedelson Justin Edelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: