Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-1.0.0
-
None
Description
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.