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

[New] Using -compatibility-version flag is causing a RTE [old] Adding enough items to make a DataGrid have to scroll causes an RTE when compiled with -compatibility-version=2.0.1.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • mx: General
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a DataGrid with an ArrayCollection as its dataProvider.
      2. Add enough items to the ArrayCollection to make the DataGrid scroll.
      3. Compile with -compatibility-version=2.0.1.

      Actual Results:
      TypeError: Error #1007: Instantiation attempted on a non-constructor.
      at mx.core::UIComponent/createInFontContext()
      at mx.controls::Button/createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.core::UIComponent/addChild()
      at mx.controls.scrollClasses::ScrollBar/createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.core::UIComponent/addChild()
      at mx.core::ScrollControlBase/createVScrollBar()
      at mx.core::ScrollControlBase/setScrollBarProperties()
      at mx.controls::DataGrid/configureScrollBars()
      at mx.controls.listClasses::ListBase/updateDisplayList()
      at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()
      at mx.controls::DataGrid/updateDisplayList()
      at mx.controls.listClasses::ListBase/validateDisplayList()
      at mx.managers::LayoutManager/validateDisplayList()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()
      at mx.core::UIComponent/callLaterDispatcher()

      Expected Results:

      Workaround (if any):

      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: