You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J. Brébec (Jira)" <ji...@apache.org> on 2020/06/29 20:18:00 UTC
[jira] [Created] (FELIX-6290) Configuration are randomly bound to
the fileinstall bundle
J. Brébec created FELIX-6290:
--------------------------------
Summary: 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
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)