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

OSGi installer configuration is marked as "IGNORED" in case the ConfigurationAdmin contains the correct configuration state already

    Details

      Description

      If I have a repository which first contains

      .../config/myPID [sling:OsgiConfig]
      

      and this is being changed to

      .../config/myPID.config [nt:file]
      

      The latter configuration is marked as IGNORED in the OSGi installer. This is the case, because the old configuration already had the correct data and hence the configuration has not been updated via the ConfigurationAdmin. The state is rather confusing though, because in fact, exactly that configuration is installed in the system. Therefore I would propose to mark the configuration installer resource rather with INSTALLED.

      This would be especially helpful in the context of the health check being contributed via SLING-5888 as that will fail for every configuration in any other state but INSTALLED.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kwin Konrad Windszus
                Reporter:
                kwin Konrad Windszus
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: