Overwrite existing configurations

Description

In line 173 of org.ops4j.pax.configmanager.internal.ConfigurationAdminFacade it is checked whether a configuration already exists:

if( configCache.contains( configFile ) )

Unfortunately, the configCache contains configuration PIDs but the configFile ends with ".properties" if the default PropertiesFileConfigurationHandler is used. Thus, the match fails and already existing configurations will be overridden.

Environment

None

Assignee

Alin Dreghiciu

Reporter

Matthias

Labels

None

Components

Affects versions

Priority

Major
Configure