You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/24 00:01:16 UTC

[jira] [Updated] (FLEX-28935) DateTimeFormatterEx.getAmPmPattern() null check required in DateSpinner

     [ https://issues.apache.org/jira/browse/FLEX-28935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-28935:
---------------------------------

    Labels: easyfix  (was: )
    
> DateTimeFormatterEx.getAmPmPattern() null check required in DateSpinner
> -----------------------------------------------------------------------
>
>                 Key: FLEX-28935
>                 URL: https://issues.apache.org/jira/browse/FLEX-28935
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: DateSpinner
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix
>
> Globalization team (Harish) pointed out that erroneous pattern data could lead to DateTimeFormatterEx.getAmPmPattern() returning null. In the very low probability chance that this occurs, DateSpinner.as line 1229 will raise an RTE:
>         dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getAmPmPattern();
> This assignment should be protected with a null check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira