[ 
https://issues.apache.org/jira/browse/SOLR-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Oestreicher updated SOLR-704:
------------------------------------

    Attachment: SOLR-704.patch

I updated the patch according to the latest changes in trunk. This is a diff 
against trunk 686186. I also added another test to demonstrate that "124,,789" 
or "123,45" parse without failure (with and without the fix).

> improve NumberFormatTransformers handling of invalid input
> ----------------------------------------------------------
>
>                 Key: SOLR-704
>                 URL: https://issues.apache.org/jira/browse/SOLR-704
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Stefan Oestreicher
>            Priority: Minor
>         Attachments: SOLR-704.patch, SOLR-704.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to