[
https://issues.apache.org/jira/browse/FLEX-33722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762835#comment-13762835
]
Marcus Wilkinson edited comment on FLEX-33722 at 9/10/13 8:06 AM:
------------------------------------------------------------------
I think there is still an issue here:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as#L162
in which element.hasLayoutMatrix3D is false, however, element.getLayoutMatrix()
returns null
was (Author: marcus_sparkus):
I think there is still an issue here:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as#L162
in which element.hasLayoutMatrix is false, however, element.getLayoutMatrix()
returns null
> Dragging a row with an itemRenderer which extends DefaultGridItemRenderer
> causes null pointer in mx.utils::MatrixUtil$/isDeltaIdentity()
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLEX-33722
> URL: https://issues.apache.org/jira/browse/FLEX-33722
> Project: Apache Flex
> Issue Type: Bug
> Components: Drag and Drop, Spark: DataGrid
> Affects Versions: Apache Flex 4.10.0
> Reporter: Marcus Wilkinson
> Assignee: Justin Mclean
> Labels: datagrid, drag, itemrenderer, nullpointerexception
> Fix For: Apache Flex 4.11.0
>
> Attachments: FLEX-33722.mxml
>
>
> See attached for an example. I think this is down to two things:
> https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as
> element.getLayoutMatrix() is returning null. Doing a check for a null matrix,
> and returning an identity matrix seems to help
> https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as#L201
> I think this should be inside the loop, (at line 198)
--
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