[
https://issues.apache.org/jira/browse/FLEX-33058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497547#comment-13497547
]
bidya parhy commented on FLEX-33058:
------------------------------------
Hi
I need help on the fix you provided for the Grouped Columns on ADG with small
sizing can cause Stack Overflow
I am running with flex 3.3
So how would I change my code to make it working do I need to change the
library and rebuild them again or there are any other easier way
my email is [email protected] so please help
> 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: SuperCollections
> Affects Versions: Adobe Flex SDK 4.5 (Release)
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Run test app
> 2. Click button to change HierarchicalData's source
>
> Actual Results:
>
> ReferenceError: Error #1069: Property mx_internal_uid not found on ASObject1
> and there is no default value.
> at
> mx.collections::HierarchicalCollectionViewCursor/findAny()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalCollectionViewCursor.as:327]
> at
> mx.collections::HierarchicalCollectionViewCursor/findFirst()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalCollectionViewCursor.as:356]
> at
> mx.collections::HierarchicalCollectionViewCursor/collectionChangeHandler()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalCollectionViewCursor.as:1315]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at
> mx.collections::HierarchicalCollectionView/internalRefresh()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalCollectionView.as:1248]
> at
> mx.collections::HierarchicalCollectionView/collectionChangeHandler()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalCollectionView.as:1439]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.collections::HierarchicalData/set
> source()[C:\opensource\flex\sdk\trunk\frameworks\projects\advancedgrids\src\mx\collections\HierarchicalData.as:145]
> at HCVCBug/button1_clickHandler()[C:\Users\asus\Adobe Flash Builder
> 4.5\HCVCBug\src\HCVCBug.mxml:46]
> at HCVCBug/___HCVCBug_Button1_click()[C:\Users\asus\Adobe Flash Builder
> 4.5\HCVCBug\src\HCVCBug.mxml:53]
> Expected Results:
>
> No RTE :-)
>
> Workaround (if any):
> Monkey-patch HierarchicalCollectionViewCursor and update findAny() to use
> (monkey-patch file is included in sample project if you rename it from
> HierarchicalCollectionViewCursor2.as to HierarchicalCollectionViewCursor.as):
> for (var p:String in values)
> {
> if (!o.hasOwnProperty(p) || o[p] != values[p])
> {
> matches = false;
> break;
> }
> }
> instead of:
> for (var p:String in values)
> {
> if (o[p] != values[p])
> {
> matches = false;
> break;
> }
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira