flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-28530) mx:DateValidator crash when property allowedFormatChars is null
Date Tue, 23 Apr 2013 08:31:16 GMT

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

Justin Mclean updated FLEX-28530:
---------------------------------

    Fix Version/s: Apache Flex 4.10.0
    
> mx:DateValidator crash when property allowedFormatChars is null
> ---------------------------------------------------------------
>
>                 Key: FLEX-28530
>                 URL: https://issues.apache.org/jira/browse/FLEX-28530
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Validators
>    Affects Versions: Adobe Flex SDK 4.5.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>             Fix For: Apache Flex 4.10.0
>
>
> When property "allowedFormatChars" not specified at MXML code of mx:DateValidator then
function validateDate will crash at 162 line of DateValidator.as
> Steps to reproduce:
> 1. <mx:DateValidator id="dateReportValidator" source="{dateReport}" required="true"
property="selectedDate"/>
> 2. dateReportValidator.validate();
>  
>  Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object reference
> at mx.validators::DateValidator$/validateDate()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\validators\DateValidator.as:162]
> 	at mx.validators::DateValidator/doValidation()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\validators\DateValidator.as:1404]
> 	at mx.validators::Validator/processValidation()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\validators\Validator.as:1012]
> 	at mx.validators::Validator/validate()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\validators\Validator.as:945]
>  
>  Expected Results:
>  Don't check for invalidFormatChars or remind at compile that property "allowedFormatChars"
is required.

--
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

Mime
View raw message