Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5863

Web Console doesn't report Number format exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • webconsole-4.3.4
    • None
    • Web Console
    • None

    Description

      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:

      try
      {
          props.put( propName, MetaTypeSupport.toType( attributeType, prop ) );
      }
      catch ( NumberFormatException nfe )
      {
         // don't care
      }
      

      This obviously is not very informative.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alpic80 Alain Picard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: