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

DateTimeFormatter - Change event is dispatched when set dateStyle and timeStyle with no value change

    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: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1.Define a DateTimeFormatter in <fx:Declarations> with dateStyle 'short' and timeStyle 'medium':
      <s:DateTimeFormatter id="dtf" dateStyle="short" timeStyle="medium" change="dtf_changeHandler(event)"/>
      2.Set dateStyle to 'short' and set timeStyle to 'medium' again:
      dtf.dateStyle = 'short'; dtf.timeStyle = 'medium';
      3.Verify whether change event dispatched

      Actual Results:
      Change event is dispatched

      Expected Results:
      Change event should not dispatched if there are no changes to dateStyle or timeStyle.

      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: