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

spark.Formatters-Bindable properties are not updated if user set locale using value: undefined.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1.define a bindable CurrencyFormatter's instance in Actionscript, don't set style client for this instance and don't set locale so it will use default locale.
      2.create a Label component, binding it's text to "lastOperationStatus" property of this CurrencyFormatter instance.
      3.add a method, in it set "locale" of CurrencyFormatter's instance to value: undefined.

      Actual Results:
      text of Label component is not changed, still "noError".

      Expected Results:
      text of Label component should updated to "localeUndefinedError" because of setting locale to undefined.

      NOTE: this bug not only existed in CurrencyFormatter, DateTimeFormatter and NumberFormatter have this error too.

      Testcase of this bug is in:
      [java] spark/formatters/CurrencyFormatter/Properties/CF_actualLocaleIDName_tester CF_actualLocaleIDName_binding_test27 Failed cfLabel2.text noError != localeUn
      definedError 1 Tue Aug 24 14:41:12 PDT 2010 0.33

      Workaround (if any):

      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: