You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/03/18 18:57:50 UTC
[jira] [Resolved] (FELIX-4431) Arrays are loaded as string from cfg
file
[ https://issues.apache.org/jira/browse/FELIX-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-4431.
------------------------------------
Resolution: Fixed
The ConfigAdmin syntax is supported for files with a ".config" extension.
The reason is that the syntax is not compatible, so ".cfg" files are treated as strings and ".config" files with an extended syntax.
> Arrays are loaded as string from cfg file
> -----------------------------------------
>
> Key: FELIX-4431
> URL: https://issues.apache.org/jira/browse/FELIX-4431
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin, File Install
> Affects Versions: configadmin-1.8.0, fileinstall-3.2.6
> Reporter: Alec de Zegher
>
> When we have a configuration file with following contents:
> station.ids = [1,5,6]
> station.names = [Station1, Station2, Station3]
> These properties are given as a string in the service properties and not as an array if loaded with fileInstall.
> If these properties are configured from Config Admin Felix Console, then the properties are stored as an array in the service properties.
> The cardinality is Integer.MIN_MAX
--
This message was sent by Atlassian JIRA
(v6.2#6252)