felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4568) webconsole doesn't recognise pipe '|' as list separator
Date Tue, 22 Jul 2014 11:36:39 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070146#comment-14070146

Carsten Ziegeler commented on FELIX-4568:

I assume this comes from the metatype description and the metatype specs states that  the
values are separated by a comma. If you check the metatype xml and the value for the attribute
definition, I assume your string is put there as is - which seems to be wrong as you're saying
that bnd splits based on the pipe character. In that case the metatype generation needs to
be changed to escape a comma and replace the pipe with a comma.

> webconsole doesn't recognise pipe '|' as list separator
> -------------------------------------------------------
>                 Key: FELIX-4568
>                 URL: https://issues.apache.org/jira/browse/FELIX-4568
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.2.2
>         Environment: Linux x64
>            Reporter: Ferry Huberts
>         Attachments: Screenshot of the example.png
> with (bnd call)
>   Config config = Configurable.createConfigurable(Config.class, props);
> I create a Config object.
> In Config is a
>   List<String> entries();
> the default for this is 'a|b|c'
> bnd uses the pipe '|' character to split the Strings
> webconsole uses the comma ',' character to split
> which one is it doing the right thing? :-) 

This message was sent by Atlassian JIRA

View raw message