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

[Localization:HiSoft]ENU:Core:mx:DateValidator: DateValidator validates failed when its inputFormat is set "YYYY/MM/DD" and date's day is single character(say:"2010/9/2").

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 4.5 (Release)
    • Adobe Flex SDK Previous
    • 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. Compile "DateValidatorTest.mxml" (attached) and run it.
      2. Click button"Use inputFormat YYYY/MM/DD" and the DateValidator's inputFormat is set "YYYY/MM/DD".
      3. Then click button "Set date 2010/9/2" and the textInput displays "2010/9/2".
      4. Then click button "Validate".
      5. Click button"Set date 2010/9/02" and the textInput displays "2010/9/02".
      6. Then click button "Validate".
      7. Click button"Use inputFormat DD/MM/YYYY" and the DateValidator's inputFormat is set "DD/MM/YYYY".
      8. Then click button "Set date 2/9/2010" and the textInput displays "2/9/2010".
      9. Then click button "Validate".
      10. Then click button "Set date 02/9/2010" and the textInput displays "02/9/2010".
      11. Then click button "Validate".

      Actual Results:
      Step4: The result is invalid.
      Step6: The result is valid.
      Step9: The result is valid.
      Step10: The result is valid

      Expected Results:
      Step4: The result also should is valid.

      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: