felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5723) ConfigInstaller is not deleting files in the etc directory
Date Thu, 19 Oct 2017 18:01:00 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211456#comment-16211456

Guillaume Nodet commented on FELIX-5723:

The dictionary is not available anymore when the event is sent.  This means we'll have to
keep an additional map to cache the link between pid -> file so that we can delete the
file when the pid is deleted.

> 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
> 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
> 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

View raw message