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

TypeError when refreshing a GroupingCollection with an XML source (SDK build 1417)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • Adobe Flex SDK Previous
    • SuperCollections
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the attached sample

      Actual Results:
      TypeError: Error #1034: Type Coercion failed: cannot convert XMLList@16fbb51
      to mx.collections.ICollectionView.
      at
      mx.collections::GroupingCollection/getChildren()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\GroupingCollection.as:386]
      at
      mx.collections::HierarchicalData/hasChildren()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\HierarchicalData.as:216]
      at
      mx.collections::GroupingCollection/applyFunctionForParentNodes()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\GroupingCollection.as:1328]
      at
      mx.collections::GroupingCollection/buildGroups()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\GroupingCollection.as:1265]
      at
      mx.collections::GroupingCollection/makeGroupedCollection()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\GroupingCollection.as:1117]
      at
      mx.collections::GroupingCollection/refresh()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\collections\GroupingCollection.as:459]
      at
      TestGroupingCollection/test()[X:\flex-head-3\flex-bugs\src\TestGroupingCollection.mxml:25]

      Expected Results:
      No exception.

      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: