You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/10 07:15:00 UTC
[jira] [Resolved] (FELIX-6174)
org.apache.felix.utils.properties.TypedProperties does not parse arrays
correctly
[ https://issues.apache.org/jira/browse/FELIX-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved FELIX-6174.
-----------------------------------------
Fix Version/s: (was: utils-1.11.4)
Resolution: Not A Problem
> org.apache.felix.utils.properties.TypedProperties does not parse arrays correctly
> ---------------------------------------------------------------------------------
>
> Key: FELIX-6174
> URL: https://issues.apache.org/jira/browse/FELIX-6174
> Project: Felix
> Issue Type: Bug
> Components: Utils
> Affects Versions: utils-1.10.4
> Environment: Windows 7 / tested with org.apache.felix.org.apache.felix.utils_1.11.2.jar
> Reporter: Mike Rumpf
> Assignee: Jean-Baptiste Onofré
> Priority: Critical
> Attachments: TypedPropertiesTest.java
>
>
> org.apache.felix.utils.properties.TypedProperties does not parse arrays in OSGi configurations correctly.
> While a single line config with
> key=["val1","val2"] works fine
> just adding a standard key value pair
> key2=val2
> has the consequence that the value for "key" is not parsed as an array anymore.
> (see attached JUnit test to demonstrate the problem)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)