Tapestry
  1. Tapestry
  2. TAPESTRY-827

Incorrect parsing of decimals in French locale by NumberTranslator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Tomcat 5.0, jre 1.4.2, ie 6.0

      Description

      When validating numbers using NumberTranslator with French locale incorrect parsing of a user entered decimal occurs. Example, 55 000 results in a String value of 55 being returned by NumberTranslator. Reason being that the user enters a space (0x20) as the grouping separator, however, java.text.DecimalFormat expects a non-breaking space (0xA0). The tranlsator should replace grouping separator spaces with non-breaking spaces?

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Thronton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development