Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-704

improve NumberFormatTransformers handling of invalid input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • None

    Description

      As described in http://www.ibm.com/developerworks/java/library/j-numberformat/ instances of the NumberFormat class don't throw ParseExceptions in all cases of invalid input. This affects the org.apache.solr.handler.dataimport.NumberFormatTransformer class which relies on NumberFormat. I will attach a patch to demonstrate and fix this issue shortly.

      Attachments

        1. SOLR-704.patch
          5 kB
          Stefan Oestreicher
        2. SOLR-704.patch
          7 kB
          Stefan Oestreicher

        Activity

          People

            shalin Shalin Shekhar Mangar
            dlx Stefan Oestreicher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: