felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-662) ConfigManager should check for empty value before converting into a specific type
Date Mon, 29 Sep 2008 11:14:44 GMT

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


Mime
View raw message