You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2010/03/01 09:50:05 UTC
[jira] Created: (FELIX-2142) The Config Manager doesn't show
configurations which values are pritive arrays
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
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.
[jira] Resolved: (FELIX-2142) The Config Manager doesn't show
configurations which values are pritive arrays
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2142.
--------------------------------------
Resolution: Fixed
Fix Version/s: webconsole-3.0.0
Assignee: Felix Meschberger
Thanks for providing the patch. I have applied it in Rev. 918434.
> 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.
[jira] Closed: (FELIX-2142) The Config Manager doesn't show
configurations which values are pritive arrays
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (FELIX-2142) The Config Manager doesn't show
configurations which values are pritive arrays
Posted by "Valentin Valchev (JIRA)" <ji...@apache.org>.
[ 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.