Mihai Chira created FLEX-35025:
----------------------------------

             Summary: Validator results cannot be intercepted if the value is 
null
                 Key: FLEX-35025
                 URL: https://issues.apache.org/jira/browse/FLEX-35025
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.15.0
            Reporter: Mihai Chira
            Assignee: Mihai Chira


{{mx.validators.Validator.validate()}} usually ends up passing its 
{{ValidationResultEvent}} through {{handleResults()}}. However, in an edge case 
(when the value it's validating is {{null}}) it dispatches the 
{{ValidationResultEvent}} without passing it through {{handleResults()}}.

The scenario is: we need to set the {{field}} property on the 
{{ValidationResultEvent}} before it leaves the custom validator. This is 
impossible for the (correct) situation when the value that's being validated is 
{{null}} (which, in our custom validator, is a valid value).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to