incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <>
Subject [jira] [Resolved] (FLEX-33263) FocusOut in datagrid causes RTE if target.parent is null
Date Fri, 16 Nov 2012 15:30:12 GMT


Carol Frampton resolved FLEX-33263.

       Resolution: Fixed
    Fix Version/s: Apache Flex Next

Author: cframpton
Date: Fri Nov 16 15:27:38 2012
New Revision: 1410394

FLEX-33263.  FocusOut in datagrid causes RTE if target.parent is null.  Commit patch submitted
by João Fernandes.


> FocusOut in datagrid causes RTE if target.parent is null
> --------------------------------------------------------
>                 Key: FLEX-33263
>                 URL:
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DataGrid
>    Affects Versions: Apache Flex 4.8 (parity release)
>            Reporter: João Fernandes
>            Assignee: Carol Frampton
>             Fix For: Apache Flex Next
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
> during focusOutHandler, there is a condition that access target.parent.parent without
checking if target.parent is null or not.
> There is a quick fix by inverting the 2 last conditions so at line 5017 instead of having
> if (target is IListItemRenderer && target.parent.parent == this && target.parent
is ListBaseContentHolder)
> we should have
> if (target is IListItemRenderer && target.parent is ListBaseContentHolder &&
target.parent.parent == this)
> this way, it will never throw an RTE because if target.parent is null, it will never
evaluate the last portion.

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:

View raw message