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

DefaultButton is set to null in focusInHandler for when clicking on advanceddatagrid cell and is causing RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 3.4 (Release)
    • None
    • Focus Manager
    • None
    • Affected OS(s): Mac
      Affected OS(s): Linux RedHat 4
      Language Found: English

    Description

      Steps to reproduce: For AIR APP
      1. Create a ADG

      <mx:AdvancedDataGrid width="100%" click="checkSelect(event);" id="reportListChoos" dataProvider="

      {this.groupingColl}

      " height="500">
      <mx:columns>

      <mx:AdvancedDataGridColumn headerText="Report Name" dataField="reportName"/>
      <mx:AdvancedDataGridColumn headerText="Details" dataTipFunction="checkForObject" showDataTips="true" dataField="quickDetails"/>
      <mx:AdvancedDataGridColumn headerText="Based on Template" dataField="templateName"/>
      <mx:AdvancedDataGridColumn headerText="Print Orientation" dataField="printOrient"/>

      </mx:columns>
      </mx:AdvancedDataGrid>

      2. Populate with Data
      3. Click on Row

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::FocusManager/focusInHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\FocusManager.as:601]
      at flash.display::Stage/set focus()
      at mx.core::UIComponent/setFocus()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:6952]
      at mx.managers::FocusManager/setFocus()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\FocusManager.as:553]
      at mx.managers::FocusManager/mouseDownHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\FocusManager.as:1896]

      Expected Results:
      no RTE

      Workaround (if any):
      none right now

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: