flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Alderson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34288) Advanced Data Grid after applied filter function for child rows in hierarchical data then click on filtered group's tree icon not working and call expandAll() also application get hanging
Date Wed, 30 Jul 2014 18:30:38 GMT

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

Andrew Alderson commented on FLEX-34288:
----------------------------------------

This is not a bug. In the sample source file that is attached only the inner collections are
being refreshed when the filter is applied. The outer collection also needs to be refreshed
before calling grid.invalidateList() or the length of the collection will not be updated correctly
and that will cause an RTE.

> Advanced Data Grid after applied filter function for child rows in hierarchical data
then click on filtered group's tree icon not working and call expandAll() also application
get hanging
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34288
>                 URL: https://issues.apache.org/jira/browse/FLEX-34288
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Window 7, Flash Player 13
>            Reporter: Raja Jaganathan
>            Priority: Blocker
>              Labels: easytest, newbie
>         Attachments: AdvancedDataGridIssue.mxml
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Issue #1
> If filter applied for children array collection assume that some child rows get filtered
then click on tree arrow icon it get error.
> Step to reproduce issue 
> please use attached AdvancedDataGridIssue.mxml file then follow below step 
> First try click on Apply Filter Button then you will see child rows get filter properly.
Now click on "Arizona" to collapse. We got error.Please give any workaround for this issue.
> Full stacktrace log:
> TypeError: Error #1010: A term is undefined and has no properties.
> 	at mx.controls::AdvancedDataGrid/expandItem()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:4629]
> 	at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::expandItemHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:8766]
> Issue #2
> If filter applied for children array collection assume that some child rows filtered
properly then call expandAll method's of AdvancedDataGrid UI get freeze due to below error
occurred.
> Step to reproduce issue
> please use attached AdvancedDataGridIssue.mxml file then follow below step.
> 1) First click on Apply Filter Button 
> 2) Then click on "Expand All" button to expand all node. 
> Error: Error #1502: A script has executed for longer than the default timeout period
of 15 seconds.
> 	at mx.controls::AdvancedDataGrid/expandAll()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:5780]
> 	at ApacheFlex/button3_clickHandler()[C:\Users\400347\Adobe Flash Builder 4.6\ApacheFlex\src\ApacheFlex.mxml:52]
> 	at ApacheFlex/__btnExpand_click()[C:\Users\400347\Adobe Flash Builder 4.6\ApacheFlex\src\ApacheFlex.mxml:77]
> 	



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message