[ 
https://issues.apache.org/jira/browse/FELIX-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved FELIX-3046.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: configadmin-1.4.0
         Assignee: Felix Meschberger

Fixed in Rev. 1186839

Both empty arrays and empty collections have not been written properly. 
Likewise on read, they have not been read properly. With the fix empty arrays 
([]) and collections ({}) are written and read back in. For arrays, the type 
can be supported. For collections the type, of course, is irrelevant and cannot 
be saved.
                
> Empty array configuration value is read as null after restart
> -------------------------------------------------------------
>
>                 Key: FELIX-3046
>                 URL: https://issues.apache.org/jira/browse/FELIX-3046
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions:  configadmin-1.2.8
>            Reporter: Martin Zdila
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.4.0
>
>
> Value String[0] is stored in the backing file as
> key=
> After framework is restarted it is read as null value.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to