You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2016/02/16 10:08:18 UTC

[jira] [Comment Edited] (FLEX-33058) RTE in HierarchicalCollectionViewCursor when a refresh occurs and old cursor had an enumerable property that new cursor item doesn't

    [ https://issues.apache.org/jira/browse/FLEX-33058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148296#comment-15148296 ] 

Mihai Chira edited comment on FLEX-33058 at 2/16/16 9:07 AM:
-------------------------------------------------------------

It wouldn't help, because the next loop in {{HierarchicalCollectionViewCursor.findAny()}} would 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.


was (Author: evolverine):
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)