You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Carol Frampton (JIRA)" <ji...@apache.org> on 2012/11/16 16:16:12 UTC
[jira] [Assigned] (FLEX-33263) FocusOut in datagrid causes RTE if
target.parent is null
[ https://issues.apache.org/jira/browse/FLEX-33263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carol Frampton reassigned FLEX-33263:
-------------------------------------
Assignee: Carol Frampton
> FocusOut in datagrid causes RTE if target.parent is null
> --------------------------------------------------------
>
> Key: FLEX-33263
> URL: https://issues.apache.org/jira/browse/FLEX-33263
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DataGrid
> Affects Versions: Apache Flex 4.8 (parity release)
> Reporter: João Fernandes
> Assignee: Carol Frampton
> 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: http://www.atlassian.com/software/jira