Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
configadmin-1.8.0
-
None
Description
The following config file cannot be parsed and read as we would expect.
Spaces seem to be supported.
#mongodb URI mongouri=mongodb="//127.0.0.1:27017" #custom datastore customBlobStore=B"true"
@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")); }