You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/08/10 09:10:45 UTC
[jira] [Closed] (FELIX-4917) FilePersistenceManager doesn't support
comments
[ https://issues.apache.org/jira/browse/FELIX-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-4917.
-----------------------------------
> FilePersistenceManager doesn't support comments
> -----------------------------------------------
>
> Key: FELIX-4917
> URL: https://issues.apache.org/jira/browse/FELIX-4917
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.8.0
> Reporter: Ilyas Türkben
> Assignee: Carsten Ziegeler
> Fix For: configadmin-1.8.8
>
>
> The following config file cannot be parsed and read as we would expect.
> Spaces seem to be supported.
> {noformat}
> #mongodb URI
> mongouri=mongodb="//127.0.0.1:27017"
> #custom datastore
> customBlobStore=B"true"
> {noformat}
> {code:java}
> @Test
> public void testLoad() throws IOException {
> FilePersistenceManager filePersistenceManager = new FilePersistenceManager(getClass().getResource("/config").getFile());
> @SuppressWarnings("unchecked")
> Dictionary<String,Boolean> cfg = filePersistenceManager.load("test");
> assertTrue(cfg.get("customBlobStore"));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)