[
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