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

Web Console doesn't report Number format exception

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: webconsole-4.3.4
    • Fix Version/s: None
    • Component/s: Web Console
    • Labels:
      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

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

              Dates

              • Created:
                Updated: