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

Felix Meschberger reassigned FELIX-662:
---------------------------------------

    Assignee: Felix Meschberger

> ConfigManager should check for empty value before converting into a specific 
> type
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-662
>                 URL: https://issues.apache.org/jira/browse/FELIX-662
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Felix Meschberger
>
> When a field for a property of a non-type is left empty in the web console, 
> the empty string is tried to be converted into the type, which results in an 
> exception.
> One example is in the ConfigManager#648:
>                         // scalar of non-string
>                         String prop = request.getParameter( propName );
>                         props.put( propName, this.toType( ad.getType(), prop 
> ) );
> The value should be checked before it is tried to be converted. There might 
> be other places where this should be checked as well.

-- 
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