Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25584

NumberFormatter: fallback numberFormatter cannot throw ParseError when parseNumber method call invalid number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Formatters
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      1. For spark.formatters.NumberFormatter, when set enforceFallback to true ;
      2. When parsing invalid number like parseNumber('12 34') , it will set lastOperationStatus NoError.
      3. But when set enforceFallback to false, its parseNumber('12 34') will set lastOperationStatus parseError.
      And for flash.globalization.NumberFormatter, parseNumber('12 34') also set lastOperationStatus parseError.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: