You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/06/29 20:22:00 UTC

[jira] [Updated] (FELIX-6290) Configuration are randomly bound to the fileinstall bundle

     [ https://issues.apache.org/jira/browse/FELIX-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated FELIX-6290:
----------------------------------------
    Fix Version/s: fileinstall-3.6.8

> Configuration are randomly bound to the fileinstall bundle
> ----------------------------------------------------------
>
>                 Key: FELIX-6290
>                 URL: https://issues.apache.org/jira/browse/FELIX-6290
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.6.6
>            Reporter: J. Brébec
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: fileinstall-3.6.8
>
>
> I am using Karaf 4.2.9 with fileinstall 3.6.6
> Randomly, some Declaratives Services are not instanciated, because no configuration are found, despite the presence of a cfg file in the etc folder.
> This is probably related to FELIX-6103
> In this patch, fileinstall are now calling [getConfigurationAdmin().getConfiguration(oldConfiguration.getPid())|https://github.com/apache/felix-dev/blob/e4131ea442a711d5996ae514dcdbfb6a6ccd0486/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java#L369] which bind the configuration to the fileinstall bundle, making it not visible for my services.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)