Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2299

f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1-core, 2.1.0-core
    • 2.0.2-core, 2.1.0-core
    • None
    • None

    Description

      The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with grouping separator character even when type is set to number.

      Attachments

        1. 14380832.patch
          5 kB
          Paresh Kumar Acharya

        Activity

          People

            darkarena Scott O'Bryan
            pareshacharya Paresh Kumar Acharya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: