felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4431) Arrays are loaded as string from cfg file
Date Tue, 18 Mar 2014 17:57:50 GMT

     [ 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

View raw message