Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33722

Dragging a row with an itemRenderer which extends DefaultGridItemRenderer causes null pointer in mx.utils::MatrixUtil$/isDeltaIdentity()

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        1. DND.fxp
          9 kB
          Marcus Wilkinson
        2. FLEX-33722.mxml
          2 kB
          Marcus Wilkinson

        Issue Links

          Activity

            People

              jmclean Justin Mclean
              marcus_sparkus Marcus Wilkinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: