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/30 07:46:15 UTC
[jira] [Updated] (FLEX-20117) ValidationResultEvent.message getter
throws exception if the evnt is of type ValidationResultEvent.VALID
[ https://issues.apache.org/jira/browse/FLEX-20117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean updated FLEX-20117:
---------------------------------
Labels: easyfix easytest (was: )
> ValidationResultEvent.message getter throws exception if the evnt is of type ValidationResultEvent.VALID
> --------------------------------------------------------------------------------------------------------
>
> Key: FLEX-20117
> URL: https://issues.apache.org/jira/browse/FLEX-20117
> Project: Apache Flex
> Issue Type: Bug
> Components: Validators
> Affects Versions: Adobe Flex SDK 3.0 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Firefox 3.x
> Language Found: English
> Reporter: Adobe JIRA
> Priority: Minor
> Labels: easyfix, easytest
>
> Steps to reproduce:
> 1. Create for example NumberValidator
> 2. Use it to validate a correct number value
> 3. The validate() method will return object of type ValidationResultEvent
> 4. Call message property on this object
>
> Actual Results:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> at mx.events::ValidationResultEvent/get message()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\events\ValidationResultEvent.as:150]
>
> Expected Results:
>
> return null or empty String, or something else
>
> Workaround (if any):
>
> to check if results array in ValidationResultEvent is not null and then to call message property
--
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