You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Brandan Jeter (JIRA)" <ji...@apache.org> on 2017/10/19 16:45:00 UTC

[jira] [Created] (FELIX-5723) ConfigInstaller is not deleting files in the etc directory

Brandan Jeter created FELIX-5723:
------------------------------------

             Summary: ConfigInstaller is not deleting files in the etc directory
                 Key: FELIX-5723
                 URL: https://issues.apache.org/jira/browse/FELIX-5723
             Project: Felix
          Issue Type: Bug
    Affects Versions: fileinstall-3.6.2, fileinstall-3.6.0
            Reporter: Brandan Jeter


The ConfigInstaller takes the pid from the ConfigurationEvent and tries to get the configuration from ConfigAdmin. This will not return the config because the config has been deleted. See https://github.com/apache/felix/blob/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java#L182

The ConfigurationEvent must provide the felix.fileinstall property, so that the ConfigInstaller can use that to delete the corresponding file in etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)