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] Created: (FELIX-611) ConfigurationAdmin.listConfigurations returns empty configurations
Date Wed, 18 Jun 2008 12:48:45 GMT
ConfigurationAdmin.listConfigurations returns empty configurations

                 Key: FELIX-611
                 URL: https://issues.apache.org/jira/browse/FELIX-611
             Project: Felix
          Issue Type: Bug
          Components: Configuration Admin
    Affects Versions: configadmin-1.0.1, configadmin-1.0.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: configadmin-1.0.2

The current implementation of the ConfigurationAdmin.listConfigurations method returns all
matching configurations even those with no properties.

On the other hand the specification of the listConfigurations method states:

    Only Configuration objects with non- null properties are considered cur-
    rent. That is, Configuration.getProperties() is guaranteed not to return null
    for each of the returned Configuration objects.

Configuration.getProperties() may return null on newly created configuration objects which
never have been updated with actual configuration such as Configuration objects created upon
calling ConfigurationAdmin.getConfiguration(String)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message