You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/04/01 13:52:29 UTC
[jira] Closed: (FELIX-2142) The Config Manager doesn't show
configurations which values are pritive arrays
[ https://issues.apache.org/jira/browse/FELIX-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-2142.
-----------------------------------
> 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
> Assignee: Felix Meschberger
> Fix For: webconsole-3.0.0
>
> 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.