felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4917) FilePersistenceManager doesn't support comments
Date Thu, 18 Jun 2015 06:09:00 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler resolved FELIX-4917.
-------------------------------------
    Resolution: Fixed

Added support for comments in rev 1686141

> 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)

Mime
View raw message