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

Guillaume Nodet resolved FELIX-5723.
------------------------------------
       Resolution: Fixed
         Assignee: Guillaume Nodet
    Fix Version/s: fileinstall-3.6.6

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
        M       
fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
        M       
fileinstall/src/test/java/org/apache/felix/fileinstall/internal/ConfigInstallerTest.java
Committed r1812996


> 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.0, fileinstall-3.6.2
>            Reporter: Brandan Jeter
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-3.6.6
>
>
> 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)

Reply via email to