[ 
https://issues.apache.org/jira/browse/FLEX-15903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-15903.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.10.0

Improved code no need to lookup length inside loop
                
> Error #1006: value is not a function in 
> ListCollectionView.getFilteredItemIndex()
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-15903
>                 URL: https://issues.apache.org/jira/browse/FLEX-15903
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: List
>    Affects Versions: Adobe Flex SDK 3.1 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): 
> Browser: Internet Explorer 7.x
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
>             Fix For: Apache Flex 4.10.0
>
>
> Steps to reproduce:
> 1. On an ArrayCollection (with no sort or filter), do cursor.insert( item )
>  
>  Actual Results:
>  
> Error #1006: value is not a function on line 564 of file ListCollectionView.as
> This line is:
>       if (filterFunction(prevItem)) 
> and my filterFunction variable is set to null.
> But this function is called from ListCollectionView.addItemsToView(), from 
> the condition: 
>       if (filterFunction == null || filterFunction(item))
> I could enter here because my filterFunction is null, but after it's read as 
> a function.
>  
>  Expected Results:
>  
>  
>  Workaround (if any):

--
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

Reply via email to