Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5
-
None
-
None
Description
I've found a bug where adding a list property to a BaseConfiguration, then copying that full BaseConfiguration to a DatabaseConfiguration, the list is lost and only the first element is copied to the destination DatabaseConfiguration. For example:
BaseConfiguration bc = new BaseConfiguration(); bc.addProperty("myList", Arrays.asList("1", "2", "3", "4"); DatabaseConfiguration dc = new DatabaseConfiguration(...); dc.copy(bc); List list = dc.getList("myList"); // At this point, you'll get a single element list containing only "1"