[
https://issues.apache.org/jira/browse/FELIX-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentin Valchev updated FELIX-2142:
------------------------------------
Attachment: config_primitive_array.patch
> The Config Manager doesn't show configurations which values are pritive arrays
> ------------------------------------------------------------------------------
>
> Key: FELIX-2142
> URL: https://issues.apache.org/jira/browse/FELIX-2142
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Reporter: Valentin Valchev
> Attachments: config_primitive_array.patch
>
>
> When configuration property value is array, the value is converted to json
> using the following code:
> value = new JSONArray( Arrays.asList( ( Object[] ) value ) );
> However, if it is primitive array casting to Object[] will fail and the
> configuration will not displayed.
> The attached patch fixes the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.