felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3622) ConfigurationManager.listConfigurations may not always properly log the configuration PID
Date Mon, 06 Aug 2012 12:16:02 GMT

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

Felix Meschberger resolved FELIX-3622.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1369807
                
> ConfigurationManager.listConfigurations may not always properly log the configuration
PID
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-3622
>                 URL: https://issues.apache.org/jira/browse/FELIX-3622
>             Project: Felix
>          Issue Type: Improvement
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.6.0
>
>
> The ConfigurationManager.listConfigurations logs what it does with any configuration
found. These log messages include the Service PID. If the configuration is just read from
persistence and the ConfigurationImpl object created after the filter check (because the config
is not cached yet), the config dictionary has the service.pid property removed and the log
message will log null for the service.pid.
> Fix is to use the local pid variable which is extracted from the dictionary early during
check to ensure the service.pid is actually available from the raw configuration dictionary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message