You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Christoph Fiehe (JIRA)" <ji...@apache.org> on 2019/01/30 16:00:00 UTC
[jira] [Updated] (FELIX-6042) Lists are not recognized as typed
properties
[ https://issues.apache.org/jira/browse/FELIX-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Fiehe updated FELIX-6042:
-----------------------------------
Description:
The issue is related to TypedProperties and appears only when lists are deserialized. It was originally reported by [tom@quarendon.net|mailto:tom@quarendon.net] (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.
was:
The issue is related to TypedProperties and appears only when lists are deserialized. It was orginally reported by [tom@quarendon.net|mailto:tom@quarendon.net] (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 recongnized as typed properties and get interpreted as strings.
Extending the regular expression will fix the issue.
> 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 [tom@quarendon.net|mailto:tom@quarendon.net] (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)