Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA4F117E2D for ; Tue, 16 Feb 2016 09:08:18 +0000 (UTC) Received: (qmail 35898 invoked by uid 500); 16 Feb 2016 09:08:18 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 35866 invoked by uid 500); 16 Feb 2016 09:08:18 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 35744 invoked by uid 99); 16 Feb 2016 09:08:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2016 09:08:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3B9F32C1F58 for ; Tue, 16 Feb 2016 09:08:18 +0000 (UTC) Date: Tue, 16 Feb 2016 09:08:18 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33058) RTE in HierarchicalCollectionViewCursor when a refresh occurs and old cursor had an enumerable property that new cursor item doesn't MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148296#comment-15148296 ] Mihai Chira commented on FLEX-33058: ------------------------------------ It wouldn't help, because the next loop in {{HierarchicalCollectionViewCursor.findAny()}} will throw a similar RTE about the "children" property, and then about the "GroupLabel" property. It's the anonymous objects that are created by {{GroupingCollection2.buildGroups()}}. I'll say more about the cause in the commit message when I put in a fix. > RTE in HierarchicalCollectionViewCursor when a refresh occurs and old cursor had an enumerable property that new cursor item doesn't > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: FLEX-33058 > URL: https://issues.apache.org/jira/browse/FLEX-33058 > Project: Apache Flex > Issue Type: Bug > Components: Advanced Data Grid, SuperCollections > Affects Versions: Adobe Flex SDK 4.5 (Release), Apache Flex 4.15.0 > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Mihai Chira > Fix For: Apache Flex 4.16.0 > > Attachments: FLEX-33058.ZIP > > > *Steps to reproduce*: > # Run attached project > # Click button to expand all nodes in the grid > # Click on either button A or button B to scroll the grid so that the first visible item is the last grouping folder > # Click on any of the column headers to sort > *Expected Results*: The grid is scrolled by the chosen column, and no RTE is thrown > *Actual Results*: > {code:title=RTE|borderStyle=solid} > ReferenceError: Error #1069: Property mx_internal_uid not found on EmployeeVO and there is no default value. > at mx.collections::HierarchicalCollectionViewCursor/findAny()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as:332] > at mx.collections::HierarchicalCollectionViewCursor/findFirst()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as:361] > at mx.collections::HierarchicalCollectionViewCursor/collectionChangeHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as:1323] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.collections::HierarchicalCollectionView/internalRefresh()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as:1266] > at mx.collections::HierarchicalCollectionView/refresh()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as:483] > at mx.controls::AdvancedDataGridBaseEx/sortHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as:8216] > at mx.controls::AdvancedDataGrid/sortHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:8646] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.core::UIComponent/dispatchEvent()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:13688] > at mx.controls::AdvancedDataGrid/headerReleaseHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:8680] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.core::UIComponent/dispatchEvent()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:13688] > at mx.controls::AdvancedDataGridBaseEx/mouseUpHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as:7331] > at mx.controls::AdvancedDataGrid/mouseUpHandler()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:8734] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)