Solr
  1. Solr
  2. SOLR-4518

CurrencyField needs better errors when encountering a currency that java.util.Currency doesn't support

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Got a generic "IllegalArgumentException" when trying to use a currency.xml file refering to "ZWL" on java6 ... need to wrap those errors with more context.

        Activity

        Hide
        Hoss Man added a comment -

        note to self: while at it, update the CurrencyField tests to do some assuming based on Currency.getAvailableCurrencies()

        Show
        Hoss Man added a comment - note to self: while at it, update the CurrencyField tests to do some assuming based on Currency.getAvailableCurrencies()
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Chris M. Hostetter
        http://svn.apache.org/viewvc?view=revision&revision=1451931

        SOLR-4518: Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM

        Show
        Commit Tag Bot added a comment - [trunk commit] Chris M. Hostetter http://svn.apache.org/viewvc?view=revision&revision=1451931 SOLR-4518 : Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM
        Hide
        Hoss Man added a comment -

        Committed revision 1451931.
        Committed revision 1451940.

        Show
        Hoss Man added a comment - Committed revision 1451931. Committed revision 1451940.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Chris M. Hostetter
        http://svn.apache.org/viewvc?view=revision&revision=1451940

        SOLR-4518: Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM (merge r1451931)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Chris M. Hostetter http://svn.apache.org/viewvc?view=revision&revision=1451940 SOLR-4518 : Improved CurrencyField error messages when attempting to use a Currency that is not supported by the current JVM (merge r1451931)
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development