[
https://issues.apache.org/jira/browse/FELIX-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756263#comment-16756263
]
ASF GitHub Bot commented on FELIX-6042:
---------------------------------------
GitHub user cfiehe opened a pull request:
https://github.com/apache/felix/pull/176
FELIX-6042: Fix the regular expression, so that lists get recognized …
…as typed properties.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cfiehe/felix FELIX-6042
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/felix/pull/176.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #176
----
commit 3bea403475bbd66fd3eb82e1765901d542c10d7a
Author: Christoph Fiehe <christoph.fiehe@...>
Date: 2019-01-30T16:08:46Z
FELIX-6042: Fix the regular expression, so that lists get recognized as
typed properties.
----
> Lists are not recognized as typed properties
> --------------------------------------------
>
> Key: FELIX-6042
> URL: https://issues.apache.org/jira/browse/FELIX-6042
> Project: Felix
> Issue Type: Bug
> Components: Utils
> Reporter: Christoph Fiehe
> Priority: Major
>
> The issue is related to TypedProperties and appears only when lists are
> deserialized. It was originally reported by
> [[email protected]|mailto:[email protected]] (Apparent bug storing
> collection in org.apache.felix.utils.properties.TypedProperties) in the Felix
> mailing list.
> The class org.apache.felix.utils.properties.Properties.PropertiesReader uses
> an incomplete regular expression, so that lists are not recognized as typed
> properties and get interpreted as strings.
> Extending the regular expression will fix the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)