[ 
https://issues.apache.org/jira/browse/FELIX-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109106#comment-16109106
 ] 

Brandan Jeter commented on FELIX-5669:
--------------------------------------

PR: https://github.com/apache/felix/pull/115

> Registering a PersistenceManager causes duplicate caches
> --------------------------------------------------------
>
>                 Key: FELIX-5669
>                 URL: https://issues.apache.org/jira/browse/FELIX-5669
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Brandan Jeter
>
> When registering a PersistenceManager, the next call to a method in 
> ConfigurationManager will call getPersistenceManagers(). Instead of 
> preserving the existing CachingPersistenceManagerProxy that wraps the default 
> FilePersistenceManager, ConfigurationManager creates a brand new one. But 
> previous Configuration objects still have reference to the old 
> CachingPersistenceManagerProxy, so when one of them gets deleted/updated it 
> does not get deleted/updated in the ConfigurationManager's reference.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to