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

Felix Meschberger resolved SLING-172.
-------------------------------------

    Resolution: Fixed

Fixed a generics issue in the commons/json project: The generic arguments where 
declared as Collection<Object> and Map<String, Object>. Such arguments do not 
accept ArrayList<String> because the generic type hierarchy is ignored, thus 
String != Object.

The fix is to declare the arguments as Collection<?> and Map<String, ?> (I 
think it is a valid assumption to require String-keyed maps. Maybe this 
assumption is wrong, and we might then have to change this to Map<?, ?>.

Fixed in Rev. 613081.

To use
   (1) compile commons/json and install in local maven repo and
   (2) rebuild osgi/console-web and deploy to Sling

Please close if this fixes your issue. Thanks.

> Sling console configuration management does not display multivalue selects 
> correctly
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-172
>                 URL: https://issues.apache.org/jira/browse/SLING-172
>             Project: Sling
>          Issue Type: Bug
>          Components: Console
>    Affects Versions: 2.0.0
>         Environment: Windows XP, Java 1.5, Tomcat 6.x
>            Reporter: Alexander Saar
>            Assignee: Felix Meschberger
>            Priority: Minor
>         Attachments: screenshot-1.jpg
>
>
> The display of multivalue selection boxes in the configuration management 
> section of the Sling console does not work. The array of possible selections 
> is split into single characters and each of them is displayed as a single 
> entry in the selection list. This prevents changing the log level and other 
> multivalue selections with the console.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to