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

CLONE - Content Loader ignores bundles that were upgraded when the OSGi container was offline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • JCR ContentLoader 2.1.8
    • None
    • JCR
    • None

    Description

      If a bundle is updated when the OSGi container is offline or as a result of an update during startup, the content loader does not consider the bundle to have been updated and consequently does not inspect the new content to see if it should be loaded.

      I have a patch, that uses the bundle last modified date (bound to when it was installed) and the content loaded at timestamp on the bundle registration node to determine if the bundle should be reloaded. It appears to work for me, waiting for on list review before committing.

      Attachments

        1. SLING-3648.patch
          1 kB
          Artyom Stetsenko

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              ArtyomStetsenko Artyom Stetsenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: