Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When using a NotCachablePersistenceManager the following steps occur when changing .config file values:
- ConfigInstaller.setConfig gets called.
- Configuration gets retrieved from ConfigInstaller.getConfiguration method
- getConfigurationAdmin().listConfigurations(filter) returns a new configuration each time because NotCacheablePersitenceManger is used.
- Changes are performed in the new Configuration.
- ConfigInstaller.doConfigurationEvent gets called back and retrieves configuration from configurationAdmin.
- ConfigurationAdmin.getConfiguration retrieves cached value (hasn't been updated in step 4 because a new differente configuration was returned)
- config file gets updated with cached values