Alain Picard created FELIX-5863:
-----------------------------------
Summary: Config Admin doesn't report Number format exception
Key: FELIX-5863
URL: https://issues.apache.org/jira/browse/FELIX-5863
Project: Felix
Issue Type: Bug
Components: Configuration Admin
Affects Versions: configadmin-1.9.2
Reporter: Alain Picard
Configured attribute with numberic types (integer or long) and it let the user
enter non-numeric value and never raises any error or message.
Seems that code just ignores it:
{code:java}
try
{
props.put( propName, MetaTypeSupport.toType( attributeType, prop ) );
}
catch ( NumberFormatException nfe )
{
// don't care
}
{code}
This obviously is not very informative.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)